ShareResult class

Constructors

ShareResult({required ShareStatus status, String? errorMessage, ShareErrorCode? errorCode})
const
ShareResult.cancelled()
factory
ShareResult.error(ShareErrorCode code, String message)
factory
ShareResult.fromMap(Map<String, dynamic> map)
factory
ShareResult.success()
factory

Properties

errorCode ShareErrorCode?
Error code if the operation failed.
final
errorMessage String?
Error message if the operation failed.
final
hashCode int
The hash code for this object.
no setterinherited
isCancelled bool
no setter
isError bool
no setter
isSuccess bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ShareStatus
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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