ValueFrom class Null safety

Inheritance

Constructors

ValueFrom(String name)
const
factory
ValueFrom.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$ValueFromCopyWith<_$ValueFrom>
read-only
hashCode int
The hash code for this object.
read-onlyinherited
name String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

map<TResult extends Object?>({required TResult valueFrom(ValueFrom value), required TResult slugFrom(SlugFrom value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? valueFrom(ValueFrom value)?, TResult? slugFrom(SlugFrom value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult valueFrom(ValueFrom value)?, TResult slugFrom(SlugFrom value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult valueFrom(String name)?, TResult slugFrom(String name)?, required TResult orElse()}) → TResult
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 valueFrom(String name), required TResult slugFrom(String name)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? valueFrom(String name)?, TResult? slugFrom(String name)?}) → TResult?
inherited

Operators

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