GroupAttributeChangedEntity.fromJson constructor

GroupAttributeChangedEntity.fromJson(
  1. dynamic data
)

Implementation

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