ExportDataResponse.fromJson constructor
ExportDataResponse.fromJson(
- Object? j
Implementation
factory ExportDataResponse.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ExportDataResponse(
exportedFiles: switch (json['exportedFiles']) {
null => [],
List<Object?> $1 => [for (final i in $1) decodeString(i)],
_ => throw const FormatException('"exportedFiles" is not a list'),
},
);
}