ModelBuilderNullable class abstract

Inheritance
Implemented types

Constructors

ModelBuilderNullable()

Properties

entries Iterable<MapEntry<String, JsonType>>
Get all entries
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isNull bool
Returns whether or not current type value is null. Example:
getter/setter pairoverride-getter
keys Iterable<String>
Get all model keys
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<JsonType>
All entries values defined by model
no setterinherited

Methods

addEntry<T extends JsonType>(String name, T creator(), [dynamic defaultJsonValue]) → T
Add entry to json model. Entries are defined as getters
override
jsonBool(String name, [dynamic defaultJsonValue]) JsonBool
Creates a entry of type JsonBool with a given name
inherited
jsonBoolNullable(String name, [dynamic defaultJsonValue]) JsonBoolNullable
Creates a entry of type JsonBoolNullable with a given name
inherited
jsonDateTime(String name, [dynamic defaultJsonValue]) JsonDateTime
Creates a entry of type JsonDateTime with a given name
inherited
jsonDateTimeNullable(String name, [dynamic defaultJsonValue]) JsonDateTimeNullable
Creates a entry of type JsonDateTimeNullable with a given name
inherited
jsonDouble(String name, [dynamic defaultJsonValue]) JsonDouble
Creates a entry of type JsonDouble with a given name
inherited
jsonDoubleNullable(String name, [dynamic defaultJsonValue]) JsonDoubleNullable
Creates a entry of type JsonDoubleNullable with a given name
inherited
jsonInt(String name, [dynamic defaultJsonValue]) JsonInt
Creates a entry of type JsonInt with a given name
inherited
jsonIntNullable(String name, [int? defaultJsonValue]) JsonIntNullable
Creates a entry of type JsonIntNullable with a given name
inherited
jsonList<T extends JsonType>(String name, T childCreator(), [dynamic defaultJsonValue]) JsonList<T>
Creates a entry of type JsonList with a given name
inherited
jsonListNullable<T extends JsonType>(String name, T childCreator(), [dynamic defaultJsonValue]) JsonListNullable<JsonType>
Creates a entry of type JsonListNullable with a given name
inherited
jsonMap<T extends JsonType>(String name, T childCreator(), [int? defaultJsonValue]) JsonMap<T>
Creates a entry of type JsonMap with a given name
inherited
jsonMapNullable<T extends JsonType>(String name, T childCreator(), [dynamic defaultJsonValue]) JsonMapNullable<JsonType>
Creates a entry of type JsonMapNullable with a given name
inherited
jsonModel<T extends ModelBuilder>(String name, T creator(), [dynamic defaultJsonValue]) → T
inherited
jsonString(String name, [String? defaultJsonValue]) JsonString
Creates a entry of type JsonString with a given name
inherited
jsonStringNullable(String name, [String? defaultJsonValue]) JsonStringNullable
Creates a entry of type JsonStringNullable with a given name
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFromJson(dynamic json) bool
Fill model with data provided by json Example:
override
toJson() → dynamic
Convert object to json compatible types
inherited
toString() String
A string representation of this object.
inherited

Operators

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