StatsMessage constructor

StatsMessage({
  1. required String type,
  2. required String reportId,
  3. Map<String, dynamic>? reportData,
  4. int debugReportVersion = 1,
  5. String? id,
  6. String jsonrpc = '2.0',
})

Implementation

StatsMessage({
  required this.type,
  required this.reportId,
  this.reportData,
  this.debugReportVersion = 1,
  String? id,
  this.jsonrpc = '2.0',
}) : id = id ?? const Uuid().v4();