PersistedInputData class

Data model for PersistedInputCubit

Constructors

PersistedInputData({String? favoriteValue, List<String> lastValues = const []})
Default constructor
const
PersistedInputData.fromJson(Map<String, dynamic> json)
Json serialization

Properties

favoriteValue String?
Value that is saved to be default
final
hashCode int
The hash code for this object.
no setterinherited
lastValues List<String>
Values recently inputted
final
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
toJson() Map<String, dynamic>
Json serialization
toString() String
A string representation of this object.
inherited

Operators

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