fromMap static method

BookingPaymentMethod? fromMap(
  1. Object? body
)

Implementation

static BookingPaymentMethod? fromMap(Object? body) {
  final source = readRecord(body, envelopeKey: 'order');
  if (source == null) return null;
  return BookingPaymentMethod(
    paymentMethod:
        BookingPaymentMethodPaymentMethod.fromMap(source['payment_method']),
  );
}