MusicAuthorizationStatus class

Annotations
  • @freezed

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 initial(_Initial value), required TResult authorized(_Authorized value), required TResult denied(_Denied value), required TResult notDetermined(_NotDetermined value), required TResult restricted(_Restricted value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult initial(_Initial value)?, TResult authorized(_Authorized value)?, TResult denied(_Denied value)?, TResult notDetermined(_NotDetermined value)?, TResult restricted(_Restricted value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult initial(_Initial value)?, TResult authorized(_Authorized value)?, TResult denied(_Denied value)?, TResult notDetermined(_NotDetermined value)?, TResult restricted(_Restricted value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult initial()?, TResult authorized(String? musicUserToken)?, TResult denied()?, TResult notDetermined()?, TResult restricted()?, 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 initial(), required TResult authorized(String? musicUserToken), required TResult denied(), required TResult notDetermined(), required TResult restricted()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult initial()?, TResult authorized(String? musicUserToken)?, TResult denied()?, TResult notDetermined()?, TResult restricted()?}) → TResult?
inherited

Operators

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

Static Methods

fromRawValue(int rawValue, {String? musicUserToken}) MusicAuthorizationStatus