compose method
Opens app's compose screen prefilled with message.
Passing null for app hands the message to the platform default.
Implementation
@override
Future<bool> compose(MailMessage message, {MailApp? app}) async {
final isComposed = await methodChannel.invokeMethod<bool>('compose', {
'appId': app?.id,
...message.toMap(),
});
return isComposed ?? false;
}