Simulation.fromJson constructor

Simulation.fromJson(
  1. Map json_
)

Implementation

Simulation.fromJson(core.Map json_)
    : this(
        cloudProvider: json_.containsKey('cloudProvider')
            ? json_['cloudProvider'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        resourceValueConfigsMetadata:
            json_.containsKey('resourceValueConfigsMetadata')
                ? (json_['resourceValueConfigsMetadata'] as core.List)
                    .map((value) => ResourceValueConfigMetadata.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
      );