groupChangeInfo2dartGroupChangeInfo static method

V2TimGroupChangeInfo groupChangeInfo2dartGroupChangeInfo(
  1. dynamic jsonGroupChangeInfo
)

Implementation

static V2TimGroupChangeInfo groupChangeInfo2dartGroupChangeInfo(jsonGroupChangeInfo) {
  if (jsonGroupChangeInfo == null) {
    return V2TimGroupChangeInfo(
      type: 0,
    );
  }
  return V2TimGroupChangeInfo.fromJson({
    "type": jsonGroupChangeInfo["group_tips_group_change_info_flag"],
    "value": jsonGroupChangeInfo["group_tips_group_change_info_value"],
    "key": jsonGroupChangeInfo["group_tips_group_change_info_key"],
    "boolValue": jsonGroupChangeInfo["group_tips_group_change_info_bool_value"],
    "intValue": jsonGroupChangeInfo["group_tips_group_change_info_int_value"],
  });
}