Ref class Null safety

Inheritance

Constructors

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

Properties

copyWith → _$$RefCopyWith<_$Ref>
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

getScheme(dynamic json, SchemaFinder find) JsonSchema
inherited
map<TResult extends Object?>({required TResult ref(Ref value), required TResult union(Union value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? ref(Ref value)?, TResult? union(Union value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult ref(Ref value)?, TResult union(Union value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult ref(String name)?, TResult union(List<String> names, String key)?, 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
useId(dynamic id, JsonSchema scheme) → dynamic
inherited
when<TResult extends Object?>({required TResult ref(String name), required TResult union(List<String> names, String key)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? ref(String name)?, TResult? union(List<String> names, String key)?}) → TResult?
inherited

Operators

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