// GENERATED CODE - DO NOT MODIFY BY HAND part of 'response_bean.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$WhisperTranscribeResponseImpl _$$WhisperTranscribeResponseImplFromJson( Map json) => _$WhisperTranscribeResponseImpl( type: json['@type'] as String, text: json['text'] as String, segments: (json['segments'] as List?) ?.map((e) => WhisperTranscribeSegment.fromJson(e as Map)) .toList(), ); Map _$$WhisperTranscribeResponseImplToJson( _$WhisperTranscribeResponseImpl instance) => { '@type': instance.type, 'text': instance.text, 'segments': instance.segments, }; _$WhisperTranscribeSegmentImpl _$$WhisperTranscribeSegmentImplFromJson( Map json) => _$WhisperTranscribeSegmentImpl( fromTs: WhisperTranscribeSegment._durationFromInt( (json['from_ts'] as num).toInt()), toTs: WhisperTranscribeSegment._durationFromInt( (json['to_ts'] as num).toInt()), text: json['text'] as String, ); Map _$$WhisperTranscribeSegmentImplToJson( _$WhisperTranscribeSegmentImpl instance) => { 'from_ts': instance.fromTs.inMicroseconds, 'to_ts': instance.toTs.inMicroseconds, 'text': instance.text, }; _$WhisperVersionResponseImpl _$$WhisperVersionResponseImplFromJson( Map json) => _$WhisperVersionResponseImpl( type: json['@type'] as String, message: json['message'] as String, ); Map _$$WhisperVersionResponseImplToJson( _$WhisperVersionResponseImpl instance) => { '@type': instance.type, 'message': instance.message, };