[cleanup] remove usage of MediaProgressEntityDat
Change-Id: I0518ba7f33893074cd997bbb10a9e87ff2a9156a
diff --git a/public/lib/mediaplayer/flutter/media_progress.dart b/public/lib/mediaplayer/flutter/media_progress.dart
index f9afcd2..b7cc9e1 100644
--- a/public/lib/mediaplayer/flutter/media_progress.dart
+++ b/public/lib/mediaplayer/flutter/media_progress.dart
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'package:lib.schemas.dart/com/fuchsia/media/media.dart';
import 'package:lib.widgets/model.dart';
/// Tracks progress of Media playback
@@ -10,16 +9,6 @@
/// Constructor
MediaProgress(this._durationMsec, this._normalizedProgress);
- /// Named constructor for converting an Entity into this model
- MediaProgress.fromEntity(MediaProgressEntityData entity) {
- _durationMsec = entity.durationMsec;
- _normalizedProgress = entity.normalizedProgress;
- }
-
- /// Generate and Entity object capable of being sent over a Link
- MediaProgressEntityData toEntity() =>
- MediaProgressEntityData(_durationMsec, _normalizedProgress);
-
/// Progress through media in the range [0..1]
double _normalizedProgress;