CustomMessageNode.fromJson constructor

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

Implementation

CustomMessageNode.fromJson(Map<String, dynamic> json)
    : super(MessageElemTypeEnum.Custom) {
  if (json['data'] != null) data = json['data'];
  if (json['desc'] != null) desc = json['desc'];
  if (json['ext'] != null) ext = json['ext'];
}