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