WsMarkPrice.fromMap constructor
WsMarkPrice.fromMap(
- Map m
Implementation
WsMarkPrice.fromMap(Map m)
: eventType = m['e'],
eventTime = m['E'],
symbol = m['s'],
markPrice = double.parse(m['p']),
indexPrice = double.parse(m['i']),
estimatedSettlePrice = double.parse(m['P']),
fundingRate = double.parse(m['r']),
nextFundingTime = m['T'];