JMEventMessage.fromJson constructor

JMEventMessage.fromJson(
  1. Map json
)

Implementation

JMEventMessage.fromJson(Map<dynamic, dynamic> json)
  : eventType = getEnumFromString(JMEventType.values, json['eventType']),
    usernames = json['usernames'],
    super.fromJson(json);