toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "payment": payment == null ? null : payment?.toMap(),
      "notification": notification == null ? null : notification?.toMap(),
    };