SimpleModule class abstract
A SimpleModule encapsulates a well-scoped logical unit of functionality and exposes a discrete public interface for consumers.
The public interface of a SimpleModule is comprised of api, events, and components:
- The api class exposes public methods that can be used to mutate or query module data.
- The events class exposes streams that can be listened to for notification of internal module state change.
- The components class exposes react-dart compatible UI components that can be used to render module data.
- Implementers
Constructors
Properties
- api → Object?
-
The api object should contain all public methods that a consumer can use
to mutate module state (methods) or query existing module state (getters).
no setter
- components → ModuleComponents?
-
The components object should contain all react-dart compatible UI
component factory methods that a consumer can use to render module data.
no setter
- events → Object?
-
The events object should contain all public streams that a consumer can
listen to for notification of internal module state change.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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