UnionList class Null safety

Inheritance

Constructors

UnionList(List<String> names, {String key})
const
factory
UnionList.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$UnionListCopyWith<_$UnionList>
read-only
hashCode int
The hash code for this object.
read-onlyinherited
key String
read-only
names List<String>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
schema JsonRef
read-onlyinherited

Methods

doCallback(dynamic json, DoCallback callback) → dynamic
inherited
map<TResult extends Object?>({required TResult ref(RefList value), required TResult union(UnionList value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? ref(RefList value)?, TResult? union(UnionList value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult ref(RefList value)?, TResult union(UnionList 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
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