localNotification static method

Future<Map<String, dynamic>> localNotification(
  1. Map<String, dynamic> localNotification
)

Pushes a local notification message instantly.

Implementation

static Future<Map<String, dynamic>> localNotification(
  Map<String, dynamic> localNotification,
) async {
  final String? result = await _methodChannel.invokeMethod(
    'localNotification',
    localNotification,
  );
  Map<String, dynamic> resultMap = json.decode(result!);
  return resultMap;
}