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