VatRates class

A class for storing information of VAT rates

A value-added tax (VAT), known in some countries as a goods and services tax (GST), is a type of tax that is assessed incrementally.

It is levied on the price of a product or service at each stage of production, distribution, or sale to the end consumer.

Constructors

VatRates({required double standard, required List<double> reduced, double? superReduced, double? parking})
Creates VAT rates
const
VatRates.fromJson(Map<String, dynamic> json)
Creates VAT rates with a decoded json object from countries
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
parking double?
The parking rate of VAT rates
final
reduced List<double>
The reduced rate of VAT rates
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
standard double
The standard rate of VAT rates
final
superReduced double?
The super-reduced rate of VAT rates
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override