RocketModel<T> class abstract

يجب ان ترث النماذج المستخدمة من هذا الكائن

Constructors

RocketModel()

Properties

exception RocketException
getter/setter pair
existData bool
getter/setter pair
failed bool
getter/setter pair
getListenersKeys List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
isMerged bool
no setterinherited
loading bool
getter/setter pair
merges List<RocketListenable>
getter/setter pairinherited
multi List<T>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callListener(String key) → void
inherited
callListeners(List<String> keys) → void
inherited
delItem(int index) → void
حذف النموذج من قائمة النماذج
dispose() → void
inherited
fromJson(Map<String, dynamic>? json) → void
من البيانات القادمة من الخادم الى نماذج
hasListener() bool
keyHasListeners(String key) bool
inherited
load(bool t) → void
تفعيل و الغاء جاري التحميل
loadingChecking(bool value) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuildWidget() → void
التحكم في اعادة البناء يدويا
registerListener(String key, VoidCallback listener) → void
لاضافة اوامر سيتم تنفيذها اذا تم عمل اعادة البناء للجزء المرتبط مع هذا النموذج
registerListeners(Map<String, List<VoidCallback>> listeners) → void
inherited
removeListener(String key, [VoidCallback? listener]) → void
inherited
removeListeners(List<String> keys, [List<VoidCallback>? listeners]) → void
inherited
setException(RocketException _response) → void
التقاط الخطأ
setFailed(bool state) → void
في حالة وجود خط أ
setMulti(List data) → void
ملئ النماذج من البيانات القادمة من الخادم
toJson() Map<String, dynamic>
json من النماذج الى بيانات
toString() String
A string representation of this object.
inherited

Operators

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