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,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        projectId: _json.containsKey('projectId')
            ? _json['projectId'] as core.String
            : null,
        webId:
            _json.containsKey('webId') ? _json['webId'] as core.String : null,
      );