tomyeh / postgresql

Dart Postgresql database library.
https://quire.io
BSD 2-Clause "Simplified" License
15 stars 7 forks source link

Specification of the types of Row class members. #28

Closed darkstarx closed 3 months ago

darkstarx commented 3 months ago

Hi!

It is uncomfortable to cast types every time like that:

Row row = ...
User.fromJson(row.toMap().cast<String, dynamic>())

so it would be nice to have already specified types there.

Thanks!