toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "type": type,
  "asset": asset,
  "maxVolume": maxVolume,
  "usedVolume": usedVolume,
  "remainingVolume": remainingVolume,
  "interval": interval,
  "resetsAt": resetsAt,
  "side": side?.number,
  "windowStart": windowStart,
  "windowEnd": windowEnd,
};