IModel class abstract

IModel You Should To extends From Him To Model It's So Important

Available extensions

Constructors

IModel()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sqliteQuery ISqliteQuery<IModel>?
getter/setter pair

Methods

Add(T item, {SqliteQuery<T>? query}) Future<void>

Available on IModel, provided by the ModelExtensions extension

Add Fuction For Add Item To Database
Delete(dynamic id, {SqliteQuery<T>? query}) Future<void>

Available on IModel, provided by the ModelExtensions extension

Delete Fuction For Delete Item From Database
Execute(String sql, {SqliteQuery<T>? query}) Future<void>

Available on IModel, provided by the ModelExtensions extension

Execute For Execute A Query
FirstOrDefault(String queryTxt, {SqliteQuery<T>? query}) Future<T>

Available on IModel, provided by the ModelExtensions extension

FirstOrDefault For Get The Item From Database But With Where query
fromMap(Map<String, dynamic> map, {SqliteQuery<T>? query}) → T

Available on IModel, provided by the ModelExtensions extension

fromMap Fuction For Convert From Map To Item
Get({SqliteQuery<T>? query}) Future<List<T>>

Available on IModel, provided by the ModelExtensions extension

Get For Get All Items
GetById(dynamic id, {SqliteQuery<T>? query}) Future<T>

Available on IModel, provided by the ModelExtensions extension

GetById Get A Item From Database With Id
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap(T item, {SqliteQuery<T>? query}) Map<String, dynamic>

Available on IModel, provided by the ModelExtensions extension

toMap Fuction For Convert From Item To Map
toString() String
A string representation of this object.
inherited
Update(T item, {SqliteQuery<T>? query}) Future<void>

Available on IModel, provided by the ModelExtensions extension

Update Fuction For Update Item From Database
Where(String queryTxt, {SqliteQuery<T>? query}) Future<List<T>>

Available on IModel, provided by the ModelExtensions extension

Where For Get The Items From Database But With Where query

Operators

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