ProductInfo class

Annotations
  • @freezed

Constructors

ProductInfo({@Default('') String id, @Default('') String name, @Default('') String isin, @Default('') String symbol, @Default(0) double contractSize, @Default('') String productType, @Default(0) int productTypeId, @Default(false) bool tradable, @Default('') String category, @Default('') String currency, @Default(false) bool active, @Default('') String exchangeId, @Default(false) bool onlyEodPrices, @Default(0) double closePrice, DateTime? closePriceDate})
const
factory
ProductInfo.fromJson(Map<String, Object?> json)
factory

Properties

active bool
no setterinherited
category String
no setterinherited
closePrice double
no setterinherited
closePriceDate DateTime?
no setterinherited
contractSize double
no setterinherited
copyWith → $ProductInfoCopyWith<ProductInfo>
no setterinherited
currency String
no setterinherited
exchangeId String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
isin String
no setterinherited
name String
no setterinherited
onlyEodPrices bool
no setterinherited
productType String
no setterinherited
productTypeId int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
no setterinherited
tradable bool
no setterinherited

Methods

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

Operators

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