ResourceRuntimeSpec.fromJson constructor
ResourceRuntimeSpec.fromJson(
- Object? j
Implementation
factory ResourceRuntimeSpec.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ResourceRuntimeSpec(
serviceAccountSpec: switch (json['serviceAccountSpec']) {
null => null,
Object $1 => ServiceAccountSpec.fromJson($1),
},
raySpec: switch (json['raySpec']) {
null => null,
Object $1 => RaySpec.fromJson($1),
},
);
}