Statement.fromJson constructor
Implementation
factory Statement.fromJson(Map<String, dynamic> json) {
return Statement(
messages: (json['messages'] as List)
.whereNotNull()
.map((e) => Message.fromJson(e as Map<String, dynamic>))
.toList(),
responseCard: json['responseCard'] as String?,
);
}