None class abstract

Implemented types

Constructors

None()
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

Methods

map<TResult extends Object?>({required TResult none(None value), required TResult mobile(Mobile value), required TResult wifi(Wifi value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? none(None value)?, TResult? mobile(Mobile value)?, TResult? wifi(Wifi value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult none(None value)?, TResult mobile(Mobile value)?, TResult wifi(Wifi value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult none()?, TResult mobile()?, TResult wifi()?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult none(), required TResult mobile(), required TResult wifi()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? none()?, TResult? mobile()?, TResult? wifi()?}) → TResult?
inherited

Operators

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