AutomaticTaxLiability.fromJson constructor
AutomaticTaxLiability.fromJson(
- Object? json
Implementation
factory AutomaticTaxLiability.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AutomaticTaxLiability(
account:
map['account'] == null ? null : AccountOrId.fromJson(map['account']),
type: AutomaticTaxLiabilityType.fromJson(map['type']),
);
}