Currency class

A model representing a currency

Constructors

Currency({required String code, required String name, required String symbol})
A model representing a currency
const

Properties

code → String
The currency code (e.g., USD, EUR)
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
The full name of the currency
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbol → String
The currency symbol (e.g., $, €)
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