fromJson method

AISmartRepliesStyle fromJson(
  1. Map<String, dynamic> json
)

Implementation

AISmartRepliesStyle fromJson(Map<String, dynamic> json) {
  return AISmartRepliesStyle(
    backgroundColor: backgroundColor ?? json['backgroundColor'],
    replyTextStyle: replyTextStyle ?? json['replyTextStyle'],
    dividerTint: dividerTint ?? json['dividerTint'],
    loadingIconTint: loadingIconTint ?? json['loadingIconTint'],
    emptyTextStyle: emptyTextStyle ?? json['emptyTextStyle'],
    errorTextStyle: errorTextStyle ?? json['errorTextStyle'],
    errorIconTint: errorIconTint ?? json['errorIconTint'],
    emptyIconTint: emptyIconTint ?? json['emptyIconTint'],
    loadingTextStyle: loadingTextStyle ?? json['loadingTextStyle'],
  );
}