TextMessageNode.fromJson constructor

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

Implementation

TextMessageNode.fromJson(Map<String, dynamic> json)
    : super(MessageElemTypeEnum.Text) {
  if (json['content'] != null) content = json['content'];
}