JsonRefValue class Null safety
- Implemented types
- Implementers
- Annotations
Constructors
-
JsonRefValue.fromJson(Map<
String, dynamic> data) -
Creates a JsonRefValue from Json map
factory
- JsonRefValue.slugFrom(String name)
-
constfactory
- JsonRefValue.valueFrom(String name)
-
constfactory
Properties
-
copyWith
→ $JsonRefValueCopyWith<
JsonRefValue> -
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- name → String
-
read-onlyinherited
- 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