Reply.fromJson constructor

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

Implementation

factory Reply.fromJson(Map<String, dynamic> json) {
  return Reply(
    reference: json['reference'] as String,
    content: json['content'],
    contentType: ContentType.fromMap(json['contentType']),
  );
}