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