MessageTag.fromJson constructor

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

Implementation

factory MessageTag.fromJson(Map<String, dynamic> json) => MessageTag(
  key: json['key'] as String,
  value: json['value'] == null ? null : json['value'] as String,
);