ServiceAccountSpec.fromJson constructor
ServiceAccountSpec.fromJson(
- Object? j
Implementation
factory ServiceAccountSpec.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ServiceAccountSpec(
enableCustomServiceAccount: switch (json['enableCustomServiceAccount']) {
null => false,
Object $1 => decodeBool($1),
},
serviceAccount: switch (json['serviceAccount']) {
null => '',
Object $1 => decodeString($1),
},
);
}