fromMap static method
Implementation
static BookingPaymentMethods? fromMap(Object? body) {
final source = readRecord(body, envelopeKey: 'order');
if (source == null) return null;
return BookingPaymentMethods(
paymentMethods: readList<BookingPaymentMethodsPaymentMethod>(
source['payment_methods'],
BookingPaymentMethodsPaymentMethod.fromMap),
);
}