ArgType class

Implementers
Annotations
  • @freezed

Constructors

ArgType.enum_(SchemaEnum value)
const
factory
ArgType.fromJson(Map<String, dynamic> json)
factory
ArgType.input(InputType value)
const
factory
ArgType.string(String value)
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object
no setterinherited

Methods

map<TResult extends Object?>({required TResult string(StringArgType value), required TResult input(InputTypeArgType value), required TResult enum_(SchemaEnumArgType value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? string(StringArgType value)?, TResult? input(InputTypeArgType value)?, TResult? enum_(SchemaEnumArgType value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult string(StringArgType value)?, TResult input(InputTypeArgType value)?, TResult enum_(SchemaEnumArgType value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult string(String value)?, TResult input(InputType value)?, TResult enum_(SchemaEnum value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 string(String value), required TResult input(InputType value), required TResult enum_(SchemaEnum value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? string(String value)?, TResult? input(InputType value)?, TResult? enum_(SchemaEnum value)?}) → TResult?
inherited

Operators

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