OrgUnit.fromJson constructor

OrgUnit.fromJson(
  1. Map json_
)

Implementation

OrgUnit.fromJson(core.Map json_)
    : this(
        blockInheritance: json_.containsKey('blockInheritance')
            ? json_['blockInheritance'] as core.bool
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        orgUnitId: json_.containsKey('orgUnitId')
            ? json_['orgUnitId'] as core.String
            : null,
        orgUnitPath: json_.containsKey('orgUnitPath')
            ? json_['orgUnitPath'] as core.String
            : null,
        parentOrgUnitId: json_.containsKey('parentOrgUnitId')
            ? json_['parentOrgUnitId'] as core.String
            : null,
        parentOrgUnitPath: json_.containsKey('parentOrgUnitPath')
            ? json_['parentOrgUnitPath'] as core.String
            : null,
      );