Presenter<T extends MVVMModel, I> class

This class must be overriden to

Constructors

Presenter(T model, I viewInterface)

Properties

view MVVMView
set the view reference to presenter
write-only
viewInterface → I
call a method from your instance of MVVMView this method must be declared in interface extending MVVMView
read-only
viewModel → T
get the viewModel from presenter
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

afterViewInit() → Future
called when view has been drawn for the 1st time
onDestroy() → Future
called when view is destroyed
onInit() → Future
called when view init
refreshView() → dynamic
call this to refresh the view if you mock I this will have no effect when calling forceRefreshView
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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