GroupDismissedOrRecycledEntity.fromJson constructor

GroupDismissedOrRecycledEntity.fromJson(
  1. dynamic data
)

Implementation

GroupDismissedOrRecycledEntity.fromJson(data) {
  Map<String, dynamic> json =
      data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
  if (json['groupID'] != null) groupID = json['groupID'];
  if (json["opUser"] != null)
    opUser = GroupMemberEntity.fromJson(json["opUser"]);
}