syncContacts method

Future<void> syncContacts(
  1. List<String?> arg_addresses,
  2. bool arg_contact,
  3. bool arg_subscribe,
  4. List<int?>? arg_levels,
  5. bool arg_update,
  6. bool arg_syncNow,
)

Implementation

}Future<void> syncContacts(List<String?> arg_addresses,bool arg_contact,bool arg_subscribe,List<int?>? arg_levels,bool arg_update,bool arg_syncNow) async{final BasicMessageChannel<Object?> channel= BasicMessageChannel<Object?>('com.mesibo.mesibo_flutter.MesiboInternalFlutter.syncContacts',codec,binaryMessenger:
_binaryMessenger);final List<Object?>? replyList=await channel.send(<Object?>[arg_addresses,arg_contact,arg_subscribe,arg_levels,arg_update,arg_syncNow]) as List<Object?>?;if(replyList== null){throw PlatformException(code:
        'channel-error',message:'Unable to establish connection on channel.',);} else if(replyList.length> 1){throw PlatformException(code:
  replyList[0]! as String,message: replyList[1] as String?,details: replyList[2],);} else{return;}}