toJson method
Converts this TimePoint to a JSON representation.
Returns: A Map<String, dynamic> containing the height and index.
Implementation
Map<String, dynamic> toJson() => {'height': height, 'index': index};
Converts this TimePoint to a JSON representation.
Returns: A Map<String, dynamic> containing the height and index.
Map<String, dynamic> toJson() => {'height': height, 'index': index};