TimerModel class
- Inheritance
-
- Object
- WidgetModel
- TimerModel
Constructors
- TimerModel(WidgetModel parent, String? id, {dynamic action, dynamic enabled, dynamic frequency})
Properties
- action ↔ String?
-
getter/setter pair
- ancestors → List?
-
no setterinherited
- busy ↔ bool
-
getter/setter pairinherited
- busyObservable → BooleanObservable?
-
no setterinherited
-
children
↔ List<
WidgetModel> ? -
getter/setter pairinherited
- context → BuildContext?
-
no setterinherited
- data ↔ dynamic
-
getter/setter pairinherited
- datasource ↔ String?
-
getter/setter pairinherited
-
datasources
↔ List<
IDataSource> ? -
getter/setter pairinherited
- debug ↔ bool
-
getter/setter pairinherited
- descendants → List?
-
no setterinherited
- element ↔ XmlElement?
-
getter/setter pairinherited
- elementName → String
-
no setterinherited
- enabled ↔ bool
-
getter/setter pair
- framework ↔ FrameworkModel?
-
getter/setter pairinherited
- frequency ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
latefinalinherited
- isLocalScope ↔ bool
-
latefinalinherited
- notificationsEnabled ↔ bool
-
getter/setter pairinherited
- parent ↔ WidgetModel?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ Scope?
-
getter/setter pairinherited
- started ↔ bool
-
getter/setter pair
- subscope → Scope?
-
no setterinherited
- timer ↔ Timer?
-
getter/setter pair
Methods
-
deserialize(
XmlElement xml) → void -
Deserializes the FML template elements, attributes and children
override
-
dispose(
) → void -
disposes of the model releasing resources and removing bindings
override
-
execute(
String caller, String propertyOrFunction, List arguments) → Future< bool?> -
inherited
-
findAncestorOfExactType(
Type T, {String? id, bool includeSiblings = false}) → dynamic -
inherited
-
findAncestorsOfExactType(
Type? T, {String? id, bool includeSiblings = false}) → List? -
inherited
-
findChildOfExactType(
Type T, {String? id}) → dynamic -
inherited
-
findChildrenOfExactType(
Type T, {String? id}) → List -
inherited
-
findDescendantOfExactType(
Type? T, {String? id}) → dynamic -
inherited
-
findDescendantsOfExactType(
Type? T, {String? id, Type? breakOn}) → List -
inherited
-
findListenerOfExactType(
Type T) → dynamic -
inherited
-
findParentOfExactType(
Type T, {String? id}) → dynamic -
inherited
-
firstAncestorWhere(
dynamic test(dynamic element)) → dynamic -
inherited
-
getUniqueId(
String? id) → String -
inherited
-
initialize(
) → Future< void> -
initializes the model by starting brokers
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
String? property, dynamic value, {bool notify = false}) → dynamic -
model listener notifications
inherited
-
onDataChange(
) → void -
inherited
-
onDataSourceBusy(
IDataSource source, bool busy) → dynamic -
inherited
-
onDataSourceException(
IDataSource source, Exception exception) → dynamic -
inherited
-
onDataSourceSuccess(
IDataSource source, Data? list) → Future< bool> -
inherited
-
onPropertyChange(
Observable observable) → void -
notifies property listeners of any changes to a property
inherited
-
onTimer(
) → Future< bool> -
onTimerChange(
Observable observable) → void -
rebuild(
) → dynamic -
forces and associated views to rebuild
inherited
-
registerListener(
IModelListener listener) → dynamic -
adds a models listener to the list
inherited
-
removeAllListeners(
) → dynamic -
removes all model listeners
inherited
-
removeChildrenOfExactType(
Type T) → void -
inherited
-
removeListener(
IModelListener listener) → dynamic -
removes a model listener from the list
inherited
-
start(
) → void -
stop(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromXml(
WidgetModel parent, XmlElement xml, {String? type}) → TimerModel? -
override