QuotesResourceAutomaticTax.fromJson constructor
QuotesResourceAutomaticTax.fromJson(
- Object? json
Implementation
factory QuotesResourceAutomaticTax.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return QuotesResourceAutomaticTax(
enabled: (map['enabled'] as bool),
liability: map['liability'] == null
? null
: ConnectAccountReference.fromJson(map['liability']),
status: map['status'] == null
? null
: AutomaticTaxStatus.fromJson(map['status']),
);
}