SetCommonInstanceMetadataOperationMetadata.fromJson constructor

SetCommonInstanceMetadataOperationMetadata.fromJson(
  1. Map json_
)

Implementation

SetCommonInstanceMetadataOperationMetadata.fromJson(core.Map json_)
    : this(
        clientOperationId: json_.containsKey('clientOperationId')
            ? json_['clientOperationId'] as core.String
            : null,
        perLocationOperations: json_.containsKey('perLocationOperations')
            ? (json_['perLocationOperations']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
                      .fromJson(value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );