VotingLimited class abstract

Implemented types

Constructors

VotingLimited({required int count})
const
factory

Properties

copyWith → _$$VotingLimitedImplCopyWith<_$VotingLimitedImpl>
Create a copy of PollVotingMode with the given fields replaced by the non-null parameter values.
no setter
count int
no setter
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 disabled(VotingDisabled value), required TResult unique(VotingUnique value), required TResult limited(VotingLimited value), required TResult all(VotingAll value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? disabled(VotingDisabled value)?, TResult? unique(VotingUnique value)?, TResult? limited(VotingLimited value)?, TResult? all(VotingAll value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult disabled(VotingDisabled value)?, TResult unique(VotingUnique value)?, TResult limited(VotingLimited value)?, TResult all(VotingAll value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult disabled()?, TResult unique()?, TResult limited(int count)?, TResult all()?, 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 disabled(), required TResult unique(), required TResult limited(int count), required TResult all()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? disabled()?, TResult? unique()?, TResult? limited(int count)?, TResult? all()?}) → TResult?
inherited

Operators

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