TypeCompVal class

Annotations
  • @immutable

Properties

hashCode int
The hash code for this object.
no setteroverride
isList bool
no setter
isRef bool
no setter
isSingle bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

maybeWhen<_T>({_T ref()?, _T single()?, _T list()?, required _T orElse()}) → _T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override
when<_T>({required _T ref(), required _T single(), required _T list()}) → _T

Operators

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

Static Methods

fromJson(Object? json) TypeCompVal

Constants

list → const TypeCompVal
ref → const TypeCompVal
single → const TypeCompVal
values → const List<TypeCompVal>