Model class abstract

Constructors

Model()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

boolFromJson(Map<String, dynamic> json, String attribute, {bool? defaultValue}) bool?
dateFromJson(Map<String, dynamic> json, String attribute, {DateTime? defaultValue}) DateTime?
doubleFromJson(Map<String, dynamic> json, String attribute, {int decimal = 2, double? defaultValue}) double?
intFromJson(Map<String, dynamic> json, String attribute, {int? defaultValue}) int?
listFromJson<T>(Map<String, dynamic> json, String attribute, T callback(Map<String, dynamic>)) List<T>?
stringFromJson(Map<String, dynamic> json, String attribute, {String? defaultValue}) String?