$DeploymentOccurrence.fromJson constructor

$DeploymentOccurrence.fromJson(
  1. Map json_
)

Implementation

$DeploymentOccurrence.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? json_['address'] as core.String
            : null,
        config: json_.containsKey('config')
            ? json_['config'] as core.String
            : null,
        deployTime: json_.containsKey('deployTime')
            ? json_['deployTime'] as core.String
            : null,
        platform: json_.containsKey('platform')
            ? json_['platform'] as core.String
            : null,
        resourceUri: json_.containsKey('resourceUri')
            ? (json_['resourceUri'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        undeployTime: json_.containsKey('undeployTime')
            ? json_['undeployTime'] as core.String
            : null,
        userEmail: json_.containsKey('userEmail')
            ? json_['userEmail'] as core.String
            : null,
      );