ExportDataConfig.fromJson constructor
ExportDataConfig.fromJson(
- Object? j
Implementation
factory ExportDataConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ExportDataConfig(
gcsDestination: switch (json['gcsDestination']) {
null => null,
Object $1 => GcsDestination.fromJson($1),
},
fractionSplit: switch (json['fractionSplit']) {
null => null,
Object $1 => ExportFractionSplit.fromJson($1),
},
annotationsFilter: switch (json['annotationsFilter']) {
null => '',
Object $1 => decodeString($1),
},
);
}