fromMap static method

Implementation

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