SocialContext<T> class
Returned by SocialsFactory.getStrings.
Constructors
-
SocialContext(Map<
T, String> targetedStrings, String defaultString) - Create a context.
Properties
- defaultString → String
-
The string to be sent to any observer that isn't in targetedStrings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targetedStrings
→ Map<
T, String> -
Contains strings to be sent to specific targets.
final
Methods
-
dispatch(
List< T> observers, void func(T, String)) → void -
Given a list of observers, call
func
(observer, string). -
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