Holding class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- Holding({required String accountId, required String securityId, required double institutionPrice, DateTime? institutionPriceAsOf, DateTime? institutionPriceDatetime, required double institutionValue, required double? costBasis, required double quantity, required String? isoCurrencyCode, required String? unofficialCurrencyCode})
-
Holding.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accountId → String
-
final
- costBasis → double?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- institutionPrice → double
-
final
- institutionPriceAsOf → DateTime?
-
final
- institutionPriceDatetime → DateTime?
-
final
- institutionValue → double
-
final
- isoCurrencyCode → String?
-
final
- quantity → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityId → String
-
final
- unofficialCurrencyCode → String?
-
final
Methods
-
copyWith(
{String? accountId, String? securityId, double? institutionPrice, DateTime? institutionPriceAsOf, DateTime? institutionPriceDatetime, double? institutionValue, double? costBasis, double? quantity, String? isoCurrencyCode, String? unofficialCurrencyCode}) → Holding -
Available on Holding, provided by the $HoldingExtension extension
-
copyWithWrapped(
{Wrapped< String> ? accountId, Wrapped<String> ? securityId, Wrapped<double> ? institutionPrice, Wrapped<DateTime?> ? institutionPriceAsOf, Wrapped<DateTime?> ? institutionPriceDatetime, Wrapped<double> ? institutionValue, Wrapped<double?> ? costBasis, Wrapped<double> ? quantity, Wrapped<String?> ? isoCurrencyCode, Wrapped<String?> ? unofficialCurrencyCode}) → Holding -
Available on Holding, provided by the $HoldingExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const Holding Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Holding instance)