MessageListConfig.fromJson constructor
Implementation
factory MessageListConfig.fromJson(Map<String, dynamic> json) {
List<String> actionList = [];
if (json['messageActionList'] != null) {
actionList = List<String>.from(json['messageActionList']);
}
return MessageListConfig(
alignment: json['alignment'] ?? AppBuilder.MESSAGE_ALIGNMENT_TWO_SIDED,
enableReadReceipt: json['enableReadReceipt'] ?? false,
messageActionList: actionList,
);
}