MethodChannelOpenMailLauncher class

An implementation of OpenMailLauncherPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

composeEmail({required EmailContent emailContent}) Future<bool>
Composes an email in the default mail app
override
getMailApps() Future<List<MailApp>>
Gets the list of available email apps on the device
override
isMailAppAvailable() Future<bool>
Checks if any mail app is available
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openMailApp({EmailContent? emailContent}) Future<OpenMailAppResult>
Opens the default email app or shows picker if multiple apps exist
override
openSpecificMailApp({required String appId, EmailContent? emailContent}) Future<bool>
Opens a specific email app by its ID
override
toString() String
A string representation of this object.
inherited

Operators

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