WhisperTranscribeResponse constructor

const WhisperTranscribeResponse({
  1. @JsonKey(name: '@type') required String type,
  2. required String text,
  3. @JsonKey(name: 'segments') required List<WhisperTranscribeSegment>? segments,
})

Implementation

const factory WhisperTranscribeResponse({
  @JsonKey(name: '@type') required String type,
  required String text,
  @JsonKey(name: 'segments')
  required List<WhisperTranscribeSegment>? segments,
}) = _WhisperTranscribeResponse;