MapState constructor

const MapState({
  1. @Default(MapPageType.sender) MapPageType pageType,
  2. @Default(null) MapUserModel? receiver,
  3. @Default(null) MapUserModel? sender,
  4. @Default(false) bool activeButton,
  5. @Default({}) Map<String, MapObject> markers,
})

Implementation

const factory MapState({
  @Default(MapPageType.sender) MapPageType pageType,
  @Default(null) MapUserModel? receiver,
  @Default(null) MapUserModel? sender,
  @Default(false) bool activeButton,
  @Default({}) Map<String,MapObject> markers,
}) = _MapState;