SessionRenderingOptions.fromJson constructor

SessionRenderingOptions.fromJson(
  1. Object? json
)

Implementation

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