• This project
    • Loading...
  • Sign in

flutter_package / auto_track_plugin

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • auto_track_plugin
  • lib
  • auto_track
  • utils
  • track_model.dart
  • add: first commit · f8f6ee00
    f8f6ee00 Browse Files
    Dubhe authored 2024-02-24 19:57:39 +0800
track_model.dart 268 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
class TrackModel {
  final String type;
  final int time;
  final Map<String, dynamic> params;
  TrackModel(this.type, this.time, this.params);

  Map<String, dynamic> toMap() {
    return {
      'type': type,
      'time': time,
      'params': params,
    };
  }
}