ImportDataResponse constructor
ImportDataResponse({
- Iterable<
ImportDataError> ? errors, - ImportDataSuccess? success,
Implementation
factory ImportDataResponse({
$core.Iterable<ImportDataError>? errors,
ImportDataSuccess? success,
}) {
final _result = create();
if (errors != null) {
_result.errors.addAll(errors);
}
if (success != null) {
_result.success = success;
}
return _result;
}