InvoiceSettingRenderingOptions.fromJson constructor

InvoiceSettingRenderingOptions.fromJson(
  1. Object? json
)

Implementation

factory InvoiceSettingRenderingOptions.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return InvoiceSettingRenderingOptions(
      amountTaxDisplay: map['amount_tax_display'] == null
          ? null
          : (map['amount_tax_display'] as String));
}