GetPolicyOptions.fromJson constructor
GetPolicyOptions.fromJson(
- Object? j
Implementation
factory GetPolicyOptions.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GetPolicyOptions(
requestedPolicyVersion: switch (json['requestedPolicyVersion']) {
null => 0,
Object $1 => decodeInt($1),
},
);
}