updateFriendNoteText method

Future<void> updateFriendNoteText({
  1. required String? username,
  2. required String? noteText,
  3. String? appKey,
})

Implementation

Future<void> updateFriendNoteText({
  required String? username,
  required String? noteText,
  String? appKey,
}) async {
  await _channel.invokeMethod(
      'updateFriendNoteText',
      {
        'username': username,
        'noteText': noteText,
        'appKey': appKey,
      }..removeWhere((key, value) => value == null));

  return;
}