TbModel class abstract

Inheritance
Available extensions

Constructors

TbModel(double value)
const
factory

Properties

copyWith → _$$TbModelImplCopyWith<_$TbModelImpl>
Create a copy of ByteModel with the given fields replaced by the non-null parameter values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
no setteroverride

Methods

map<TResult extends Object?>({required TResult bytes(BytesModel value), required TResult kb(KbModel value), required TResult mb(MbModel value), required TResult gb(GbModel value), required TResult tb(TbModel value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? bytes(BytesModel value)?, TResult? kb(KbModel value)?, TResult? mb(MbModel value)?, TResult? gb(GbModel value)?, TResult? tb(TbModel value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult bytes(BytesModel value)?, TResult kb(KbModel value)?, TResult mb(MbModel value)?, TResult gb(GbModel value)?, TResult tb(TbModel value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult bytes(double value)?, TResult kb(double value)?, TResult mb(double value)?, TResult gb(double value)?, TResult tb(double value)?, 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 bytes(double value), required TResult kb(double value), required TResult mb(double value), required TResult gb(double value), required TResult tb(double value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? bytes(double value)?, TResult? kb(double value)?, TResult? mb(double value)?, TResult? gb(double value)?, TResult? tb(double value)?}) → TResult?
inherited

Operators

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