toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (groupMember != null) 'groupMember': groupMember!,
      if (member != null) 'member': member!,
      if (name != null) 'name': name!,
      if (role != null) 'role': role!,
      if (state != null) 'state': state!,
    };