WebApp.fromJson constructor

WebApp.fromJson(
  1. Map json_
)

Implementation

WebApp.fromJson(core.Map json_)
    : this(
        apiKeyId: json_.containsKey('apiKeyId')
            ? json_['apiKeyId'] as core.String
            : null,
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        appUrls: json_.containsKey('appUrls')
            ? (json_['appUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        webId:
            json_.containsKey('webId') ? json_['webId'] as core.String : null,
      );