ClassPresenterSelector class

A ClassPresenterSelector selects a Presenter based on the item's type.

Implemented types

Constructors

ClassPresenterSelector()

Properties

hashCode int
The hash code for this object.
no setterinherited
presenters List<Presenter>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addClassPresenter(Type type, Presenter presenter) ClassPresenterSelector
Sets a presenter to be used for the given type.
addClassPresenterSelector(Type type, PresenterSelector presenterSelector) ClassPresenterSelector
Sets a presenter selector to be used for the given class.
getPresenter(dynamic item) Presenter?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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