TaxProductResourceTaxSettingsStatusDetails.fromJson constructor

TaxProductResourceTaxSettingsStatusDetails.fromJson(
  1. Object? json
)

Implementation

factory TaxProductResourceTaxSettingsStatusDetails.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TaxProductResourceTaxSettingsStatusDetails(
    active: map['active'] == null
        ? null
        : TaxProductResourceTaxSettingsStatusDetailsResourceActive.fromJson(
            map['active']),
    pending: map['pending'] == null
        ? null
        : TaxProductResourceTaxSettingsStatusDetailsResourcePending.fromJson(
            map['pending']),
  );
}