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