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