EntityGroup.fromJson constructor

EntityGroup.fromJson(
  1. Map<String, dynamic> json
)

Implementation

EntityGroup.fromJson(Map<String, dynamic> json)
    : name = json['name'],
      type = entityTypeFromString(json['type']),
      ownerId = EntityId.fromJson(json['ownerId']),
      configuration = json['configuration'],
      externalId = json['externalId'] != null
          ? EntityGroupId.fromJson(json['externalId'])
          : null,
      super.fromJson(json);