IndexAsset.fromMap constructor

IndexAsset.fromMap(
  1. Map m
)

Implementation

IndexAsset.fromMap(Map m)
    : baseAsset = m['baseAsset'],
      quoteAsset = m['quoteAsset'],
      weightInQuantity = double.parse(m['weightInQuantity']),
      weightInPercentage = double.parse(m['weightInPercentage']);