toMap method

Map<String, dynamic> toMap()

Converts the GoogleCastMediaLiveSeekableRange to a map.

Returns a Map representation of this object.

Implementation

Map<String, dynamic> toMap() {
  return {
    'end': end?.inSeconds,
    'isLiveDone': isLiveDone,
    'isMovingWindow': isMovingWindow,
    'start': start?.inSeconds,
  };
}