AccessReader class
A reader for converting data read from the database.
By default, dateTime will convert an integer to DateTime.
The plugin can extend it and implement its own converters.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDateTimeDirectly → bool
-
Whether DateTime can be read directly without converting.
If true, it means dateTime basically does nothing.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dateTime(
Object? json) → DateTime? - Return the DateTime instance representing the JSON value.
-
entities<
T extends Entity> (String otype, Iterable< String?> ? json, {T facade(String oid)?}) → List<T> ? - Parses the given collection of OIDs into the corresponding entities. *
-
entity<
T extends Entity> (String otype, String? json) → T? - Returns the entity of the given OID, or null if not loaded. *
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited