PbMapKey class sealed

Implementers
Available extensions
Annotations

Constructors

PbMapKey.int(int value)
const
factory
PbMapKey.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
value Object

Available on PbMapKey, provided by the PbMapKeyX extension

no setter
withValue PbMapKey Function(Object value)

Available on PbMapKey, provided by the PbMapKeyX extension

no setter

Methods

map<TResult extends Object?>({required TResult string(PbStringMapKey value), required TResult int(PbIntMapKey value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? string(PbStringMapKey value)?, TResult? int(PbIntMapKey value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult string(PbStringMapKey value)?, TResult int(PbIntMapKey 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

Operators

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

Constants

defaultInt → const PbIntMapKey
defaultString → const PbStringMapKey