IListProperty class abstract

Implemented types
Available extensions

Constructors

IListProperty()

Properties

allItems ↔ IMSchemaProperty?
Property getter and setter for allItems:
getter/setter pair
baseCode ↔ String?
Property getter and setter for baseCode:
getter/setter pairinherited
description ↔ String?
Property getter and setter for description:
getter/setter pairinherited
diffHashCode → int
no setterinherited
diffKey → dynamic
For Diffable
no setterinherited
diffSource → dynamic
For Diffable
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String?
no setterinherited
ignoredPaths → Set<JsonPath>
no setterinherited
isNotRequired → bool
no setterinherited
isRequired ↔ bool?
Property getter and setter for isRequired:
getter/setter pairinherited
jsonPath → JsonPath
no setterinherited
label ↔ String?
Property getter and setter for label:
getter/setter pairinherited
mfields → Set<String>
no setteroverride
mkey → MKey?
no setterinherited
mkeyOrNull → MKey?
no setterinherited
mtype → MSchemaRef
no setterinherited
path ↔ String?
Property getter and setter for path:
getter/setter pairinherited
recordKey → RecordKey?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
Property getter and setter for type:
getter/setter pairinherited
uri ↔ Uri?
Property getter and setter for uri:
getter/setter pairinherited
wrapped → Map<String, dynamic>
finalinherited
wrappedOrEmpty → Map<String, dynamic>

Available on MModel?, provided by the MModelExt extension

no setter
wrappedValues → Map<String, dynamic>

Available on MModel?, provided by the MModelExt extension

Returns the json payload, but omits any metadata values
no setter

Methods

call<T>(dynamic key) → T?
inherited
clone() → IListProperty
override
diffEquals(dynamic other) → bool
inherited
diffIdentical(dynamic other) → bool
inherited
get(String name) → dynamic
inherited
getByPath<T>(JsonPath path) → T
inherited
getMSchema(BuildContext context) → Future<IMSchemaDefinition>

Available on MModel, provided by the MSchemaLoadersExt extension

Fetches (or uses a cached) schema from the server. This would be a good target for an extension function if/when dart does that
getMSchemaOrNull(BuildContext context) → IMSchemaDefinition

Available on MModel, provided by the MSchemaLoadersExt extension

has(String fieldName) → bool
inherited
isType(Definition definition) → bool
inherited
jpath<T>(JsonPath<T> path, [T? value]) → T?
inherited
modified() → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prune(Set<String> fields) → void
inherited
refreshSchema(BuildContext context) → Future<IMSchemaDefinition>

Available on MModel, provided by the MSchemaLoadersExt extension

setByPath<T>(JsonPath<T> path, T? value) → dynamic
inherited
sync([Set<String>? fields]) → void
There are some weird cases where collections aren't synced properly with the underlying json. This will overwrite the json with the latest value of the variable.
inherited
takeFrom(dynamic source) → void
override
takeFromMap(Map<String, dynamic>? from, {bool copyEntries = true}) → void
Used for meta-forms in setting deep properties
override
toJson() → dynamic
override
toMap() → Map<String, dynamic>
For RouteParams - move at some point?
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](dynamic key) → dynamic
override
operator []=(String key, dynamic value) → void
override

Static Properties

fromJson ↔ _ListPropertyFromJson
getter/setter pair
of ↔ _ListPropertyConstructor
getter/setter pair