BulkImportValidation class

The dry run of a CSV import.

Constructors

BulkImportValidation({required int totalRows, required int validRows, required int invalidRows, List<BulkImportRow> rows = const []})
Creates a validation result.
const
BulkImportValidation.fromJson(Map<String, dynamic> json)
Reads a validation result.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
invalidRows → int
Rows that would not.
final
rows → List<BulkImportRow>
The rows themselves.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalRows → int
Rows in the file.
final
validRows → int
Rows that would import.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited