openExternalInsert static method
Opens external contact app to insert a new contact.
Optionally specify a Contact
to pre-fill the data from.
Implementation
static Future<Contact?> openExternalInsert([Contact? contact]) async {
final args = contact != null ? [contact.toJson()] : [];
final id = await _channel.invokeMethod(
'openExternalInsert',
args,
);
return id == null ? null : getContact(id);
}