BaseModel class abstract

Implementers

Constructors

BaseModel({String title = '', String subtitle = '', String data1 = '', String data2 = '', String data3 = '', String data4 = '', List<String> columns = const [], List rows = const [], String internalId = ''})

Properties

columns ↔ List<String>
getter/setter pair
data1 ↔ String
getter/setter pair
data2 ↔ String
getter/setter pair
data3 ↔ String
getter/setter pair
data4 ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
internalId ↔ String
getter/setter pair
rows ↔ List
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitle ↔ String
getter/setter pair
title ↔ String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJson<T extends BaseModel>(Map<String, dynamic> json) → T?
registerModel<T extends BaseModel>(Function fromJsonFunction) → void