ValueKey class Null safety

Implemented types

Constructors

ValueKey(String value)
const
factory
ValueKey.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$ValueKeyCopyWith<_$ValueKey>
@JsonKey(ignore: true), read-only
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
read-only

Methods

map<TResult extends Object?>({required TResult value(ValueKey value), required TResult unique(UniqueKey value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>({TResult? value(ValueKey value)?, TResult? unique(UniqueKey value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>({TResult value(ValueKey value)?, TResult unique(UniqueKey value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>({TResult value(String value)?, TResult unique()?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult value(String value), required TResult unique()}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>({TResult? value(String value)?, TResult? unique()?}) → TResult?
@optionalTypeArgs, inherited

Operators

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