CvModel class abstract

Model to access the data

Implementers
Available extensions

Constructors

CvModel.new()

Properties

cvPath → T

Available on T, provided by the CvTreePathModelReadExt extension

Path sub computation.
no setter
fields CvFields
to override something like name, description
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clear content
inherited
clone() → T

Available on T, provided by the CvModelReadExt extension

Copy content
copyFrom(CvModelRead model, {List<String>? columns}) → void

Available on CvModelWrite, provided by the CvModelWriteExt extension

Copy content
field<T extends Object?>(String name) CvField<T>?
CvField access
inherited
fieldAtPath<T extends Object?>(List<Object> paths) CvField<T>?
Deep CvField access
inherited
fillModel([CvFillOptions? options, List<String>? columns]) → void

Available on CvModel, provided by the CvModelUtilsExt extension

Fill all null in model including leaves
fromMap(Map map, {List<String>? columns}) → void
Map alias
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({List<String>? columns, bool includeMissingValue = false}) String

Available on CvModel, provided by the CvJsonModelExt extension

to json helper.
toMap({List<String>? columns, bool includeMissingValue = false}) Model
Convert to map
inherited
toString() String
A string representation of this object.
inherited

Operators

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