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