toMap method

  1. @override
Map toMap()
override

Implementation

@override
Map toMap() {
  Map result = super.toMap();

  result.putIfAbsent("duration", () => durationMs);

  return result;
}