JMContactNotifyEvent.fromJson constructor

JMContactNotifyEvent.fromJson(
  1. Map json
)

Implementation

JMContactNotifyEvent.fromJson(Map<dynamic, dynamic> json)
    : type = getEnumFromString(JMContactNotifyType.values, json['type']),
      reason = json['reason'],
      fromUserName = json['fromUsername'],
      fromUserAppKey = json['fromUserAppKey'];