showCreator method

Future<String?> showCreator({
  1. Contact? contact,
})

Shows the native contact creator, optionally pre-filled with contact. Returns the new contact's ID, or null if the user cancelled.

Permissionless on both platforms.

Implementation

Future<String?> showCreator({Contact? contact}) => _invoke<String>(
  'native.showCreator',
  {if (contact != null) 'contact': contact.toJson()},
);