fromJson method
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'],
);
}