fromMap static method

Implementation

static SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchasePaymentFields?
    fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchasePaymentFields(
    paymentDate: readText(source['payment_date']),
    paymentProcessor: readText(source['payment_processor']),
    paymentReference: readText(source['payment_reference']),
  );
}