toMap method

BundleMap toMap()

Converts the cursor to map to send it to platform.

Implementation

BundleMap toMap() => BundleMap.unmodifiable(<String, Object?>{
      'payload': payload,
      'notificationUris': notificationUris,
      'extras': extras,
    });