MarkPrice.fromMap constructor

MarkPrice.fromMap(
  1. Map m
)

Implementation

MarkPrice.fromMap(Map m)
    : this.eventType = m["e"],
      this.eventTime = m["E"],
      this.symbol = m["s"],
      this.markPrice = m["p"],
      this.indexPrice = m["i"],
      this.fundingRate = m["r"],
      this.nextFundingTime = m["T"];