GroupReceiveRESTEntity.fromJson constructor

GroupReceiveRESTEntity.fromJson(
  1. dynamic data
)

Implementation

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