StockTicker class
Represent an investment instrument
- Annotations
Constructors
- StockTicker({required String symbol, String? description})
-
const
Properties
- description → String?
-
The name description of the stock
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → String
-
The symbol of the stock
final
Methods
-
copyWith(
{String? symbol, String? description}) → StockTicker -
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