SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.fromJson constructor
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.fromJson(
- Object? j
Implementation
factory SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.fromJson(
Object? j,
) {
final json = j as Map<String, Object?>;
return SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo(
error: switch (json['error']) {
null => null,
Object $1 => Status.fromJson($1),
},
state: switch (json['state']) {
null => null,
Object $1 => decodeString($1),
},
);
}