newContact method

Future<String> newContact (
  1. Contact contact
)

//////////////////////////////////////////////// CREATING CONTACTS /// //////////////////////////////////////////////// Creates new contact and return its ID (or raw contact ID on Android)

Implementation

/// Creates new contact and return its ID (or raw contact ID on Android)
static Future<String> newContact(Contact contact) async =>
    await _channel.invokeMethod('new', contact.toJson(includePhoto: true));