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