ShareException class

Recoverable, typed share error.

Implemented types
Available extensions

Constructors

ShareException(String code, String message)
const
ShareException.nothingToShare()
A share payload was empty.
factory
ShareException.unavailable(String detail)
The platform share sheet could not be presented.
factory

Properties

code → String
Machine-readable reason, stable across releases.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable description.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFailure([StackTrace? stackTrace]) → AppFailure

Available on Exception, provided by the ExceptionToFailure extension

Convert this exception to an AppFailure.
toString() → String
A string representation of this object.
override

Operators

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