-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update return type of result when user stop the audio player #283
Conversation
final audioInfo = | ||
await _methodChannel.invokeMethod(Constants.stopRecording); | ||
return List.from(audioInfo ?? []); | ||
Future<Map<String,dynamic>> stop() async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File looks unformatted
Also please bump the version and update changelog mentioning minor internal restructure and mention breaking change of previous PR. |
1c751ec
to
5aff7e3
Compare
… when user stop the audio player
d752903
to
06e27ca
Compare
if (audioInfo[Constants.resultDuration] != null) { | ||
var duration = audioInfo[Constants.resultDuration]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (audioInfo[Constants.resultDuration] != null) { | |
var duration = audioInfo[Constants.resultDuration]; | |
final duration = audioInfo[Constants.resultDuration]; | |
if(duration != null) { | |
... | |
} |
android/src/main/kotlin/com/simform/audio_waveforms/AudioRecorder.kt
Outdated
Show resolved
Hide resolved
06e27ca
to
df3a36f
Compare
Update return type of data from native to flutter