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