notify static method

void notify(
  1. String title,
  2. String message,
  3. Map<String, dynamic> data
)

Implementation

static void notify(String title, String message, Map<String, dynamic> data) {
  // Android & iOS only
  if (kIsWeb) {
    return;
  }

  // Attempt to display native notification
  _channel
      .invokeMethod('notify', <dynamic>[title, message, json.encode(data)]);
}