MapState class
- Annotations
-
- @freezed
Constructors
-
MapState({@Default(MapPageType.sender) MapPageType pageType, @Default(null) MapUserModel? receiver, @Default(null) MapUserModel? sender, @Default(false) bool activeButton, @Default({}) Map<
String, MapObject> markers}) -
constfactory
Properties
- activeButton → bool
-
no setterinherited
-
copyWith
→ $MapStateCopyWith<
MapState> -
Create a copy of MapState
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
markers
→ Map<
String, MapObject> -
no setterinherited
- pageType → MapPageType
-
no setterinherited
- receiver → MapUserModel?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → MapUserModel?
-
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