setTemplate method

  1. @override
Future<bool> setTemplate(
  1. String body
)
override

Set a notification template to be used for this device.

Implementation

@override
Future<bool> setTemplate(String body) async {
  final success = await methodChannel
      .invokeMethod<bool>('AzNotificationHub.setTemplate', {'body': body});
  return success ?? false;
}