fromMap static method
Implementation
static OrderBillingPreferences? fromMap(Object? body) {
final source = readRecord(body, envelopeKey: 'order');
if (source == null) return null;
return OrderBillingPreferences(
billingPreferences: OrderBillingPreferencesBillingPreferences.fromMap(
source['billing_preferences']),
object: readText(source['object']),
);
}