Closed Carapacik closed 1 year ago
Converting object to an encodable object failed: Instance of 'Duration'
IT fix this and add recommended lints
Because for dio 5 connectTimeout and receiveTimeout now Duration
@Carapacik can you check the review tap so I can merge this?
Yes
Why change this
value = '"${value.toString().replaceAll(RegExp(r'(\r|\n)+'), " ")}"';
to this
value = '"${value.toString().replaceAll(RegExp(r'([\r\n])+'), " ")}"';
[\r\n] same as \r|\n
Analyzer error
I see, alright then.
published to pub.dev
@Carapacik Hey, what does that do?