AndroidApp.fromJson constructor

AndroidApp.fromJson(
  1. Map json_
)

Implementation

AndroidApp.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,
        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,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        sha1Hashes: json_.containsKey('sha1Hashes')
            ? (json_['sha1Hashes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sha256Hashes: json_.containsKey('sha256Hashes')
            ? (json_['sha256Hashes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );