Organization.fromJson constructor

Organization.fromJson(
  1. Map json_
)

Implementation

Organization.fromJson(core.Map json_)
    : this(
        creationTime: json_.containsKey('creationTime')
            ? json_['creationTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        lifecycleState: json_.containsKey('lifecycleState')
            ? json_['lifecycleState'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        owner: json_.containsKey('owner')
            ? OrganizationOwner.fromJson(
                json_['owner'] as core.Map<core.String, core.dynamic>)
            : null,
      );