toJson method

Map<String, dynamic> toJson()

Contains details of the notification that launched the app.

Implementation

Map<String, dynamic> toJson() => {
      "type": type,
      "value": value,
    };