GroupAtInfoEntity.fromJson constructor

GroupAtInfoEntity.fromJson(
  1. dynamic data
)

Implementation

GroupAtInfoEntity.fromJson(data) {
  Map<String, dynamic> json =
      data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
  if (json['seq'] != null) seq = json["seq"];
  if (json['atType'] != null)
    atType = GroupAtTypeTool.getByInt(json["atType"]);
}