CvModelBase class abstract

Base content class

Implemented types
Implementers
Available extensions

Constructors

CvModelBase()

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 CvModelCloneExt 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> parts) CvField<T>?

Available on CvModelRead, provided by the CvModelReadExt extension

Deep CvField access
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.
toJsonPretty({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}) Map<String, Object?>
Convert to map
inherited
toString() String
A string representation of this object.
inherited
valueAtPath<T extends Object?>(List<Object> parts) → T?

Available on CvModelRead, provided by the CvModelReadExt extension

Get a value at a given path fields value is returned. CvModel/List<CvModel> are converted to map/mapList.

Operators

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