• 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
  • feat: upload data add key param · 9688afc4
    9688afc4 Browse Files
    Dubhe authored 2024-03-19 15:41:10 +0800
track_model.dart 316 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
class TrackModel {
  final String type;
  final int time;
  final String key;
  final Map<String, dynamic> params;
  TrackModel(this.type, this.time, this.params, this.key);

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