Environment.fromJson constructor

Environment.fromJson(
  1. Map json_
)

Implementation

Environment.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        authorizationCode: json_.containsKey('authorizationCode')
            ? json_['authorizationCode'] as core.String
            : null,
        authorizationTimestampMs:
            json_.containsKey('authorizationTimestampMs')
                ? json_['authorizationTimestampMs'] as core.String
                : null,
        containerId: json_.containsKey('containerId')
            ? json_['containerId'] as core.String
            : null,
        containerVersionId: json_.containsKey('containerVersionId')
            ? json_['containerVersionId'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        enableDebug: json_.containsKey('enableDebug')
            ? json_['enableDebug'] as core.bool
            : null,
        environmentId: json_.containsKey('environmentId')
            ? json_['environmentId'] as core.String
            : null,
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );