GroupChangedInfoEntity.fromJson constructor
GroupChangedInfoEntity.fromJson(
- dynamic data
Implementation
GroupChangedInfoEntity.fromJson(data) {
Map<String, dynamic> json =
data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
if (json['type'] != null)
type = GroupInfoChangedTypeTool.getByInt(json['type']);
if (json['key'] != null) key = json['key'];
if (json['value'] != null) value = json['value'];
}