JMGroupMemberInfo.fromJson constructor Null safety

JMGroupMemberInfo.fromJson(
  1. Map json
)

Implementation

JMGroupMemberInfo.fromJson(Map<dynamic, dynamic> json)
    : user = JMUserInfo.fromJson(json['user']),
      groupNickname = json['groupNickname'],
      memberType =
          getEnumFromString(JMGroupMemberType.values, json['memberType']),
      joinGroupTime = json['joinGroupTime'];