toJsonString method

String toJsonString ()

Implementation

String toJsonString() {
  return jsonEncode({
    "notification": notification?.toJson(),
    "data": data,
    "collapse_key": collapseKey,
  });
}