sendSMS method

  1. @override
Future<bool?> sendSMS({
  1. required String phoneNumber,
  2. required String message,
})
override

Implementation

@override
Future<bool?> sendSMS({
  required String phoneNumber,
  required String message,
}) async {
  final result = await methodChannel.invokeMethod<bool>('sendSMS', {
    'phoneNumber': phoneNumber,
    'message': message,
  });
  return result;
}