RecordInfo constructor Null safety

const RecordInfo(
  1. {required RecordState recordState,
  2. required String? filePath,
  3. int? fileSize,
  4. required AudioOutputFormat? recordType,
  5. int? duration,
  6. int? maxDuration}
)

Implementation

const RecordInfo(
    {required this.recordState,
    required this.filePath,
    this.fileSize,
    required this.recordType,
    this.duration,
    this.maxDuration});