LongShortRatio.fromMap constructor

LongShortRatio.fromMap(
  1. Map m
)

Implementation

LongShortRatio.fromMap(Map m)
    : symbol = m['symbol'],
      longShortRatio = double.parse(m['longShortRatio']),
      longAccount = double.parse(m['longAccount']),
      shortAccount = double.parse(m['shortAccount']),
      timestamp = double.parse(m['timestamp']);