Milad-Akarie / pretty_dio_logger

MIT License
221 stars 49 forks source link

Fix connectTimeout and receiveTimeout #32

Closed Carapacik closed 1 year ago

Milad-Akarie commented 1 year ago

@Carapacik Hey, what does that do?

Carapacik commented 1 year ago

Converting object to an encodable object failed: Instance of 'Duration'

Carapacik commented 1 year ago

IT fix this and add recommended lints

Carapacik commented 1 year ago

Because for dio 5 connectTimeout and receiveTimeout now Duration

Milad-Akarie commented 1 year ago

@Carapacik can you check the review tap so I can merge this?

Carapacik commented 1 year ago

Yes

Milad-Akarie commented 1 year ago

Why change this value = '"${value.toString().replaceAll(RegExp(r'(\r|\n)+'), " ")}"'; to this value = '"${value.toString().replaceAll(RegExp(r'([\r\n])+'), " ")}"';

Carapacik commented 1 year ago

image [\r\n] same as \r|\n

Carapacik commented 1 year ago

Analyzer error

Milad-Akarie commented 1 year ago

I see, alright then.

Milad-Akarie commented 1 year ago

published to pub.dev