PandoraApiResponse class
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 ok(SuccessfulPandoraApiResponse value), required TResult fail(PandoraApiException value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? ok(SuccessfulPandoraApiResponse value)?, TResult? fail(PandoraApiException value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult ok(SuccessfulPandoraApiResponse value)?, TResult fail(PandoraApiException value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult ok(Object? result)?, TResult fail(PandoraApiErrorCode code, String message)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serializes this PandoraApiResponse to a JSON map.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult ok(Object? result), required TResult fail(PandoraApiErrorCode code, String message)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? ok(Object? result)?, TResult? fail(PandoraApiErrorCode code, String message)?})
→ TResult?
-
inherited