BoolField class

Model field for native bool type

Inheritance

Constructors

BoolField({required Model parent, required FieldOptions options})

Properties

hashCode int
The hash code for this object.
no setterinherited
isLoaded bool
no setterinherited
isNull bool
no setterinherited
name String
no setterinherited
options FieldOptions
finalinherited
parent Model
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
no setterinherited
value bool?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(bool value) → void
inherited
setFromJson(dynamic json) bool
Convert and set any json to T It doesn't crash if passed incorrect data type value If it fails to put value it returns false
override
toJson() → dynamic
Convert T to json compatible
override
toString() String
A string representation of this object.
inherited

Operators

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