send static method

Future<void> send({
  1. required dynamic title,
  2. required dynamic message,
  3. required dynamic channel,
})

Implementation

static Future<void> send({required title, required message, required channel}) async {
  await _methodChannel.invokeMethod('notif', {'title': title, 'message': message, 'channel': channel});
}