StatParams constructor

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

Implementation

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