ComposeModel.fromJson constructor

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

Implementation

factory ComposeModel.fromJson(Map<String, dynamic> json) {
  return ComposeModel(RecipientModel.fromJson(json['model']),
      action: json['action']);
}