pocketbase_utils 0.0.4
pocketbase_utils: ^0.0.4 copied to clipboard
pocketbase_utils is a dart library that generates Dart models code from a PocketBase collections scheme json file.
0.0.4 #
- Fix select field enums when an option isn't complient to variable name
0.0.3 #
AuthRecordextends fromBaseRecord- The
BaseRecordextendsEquatable - Added
_takeDiffmethod to the generated record class to get a Map of differences - Added
_forCreateRequestMethodmethod to the generated record class to get a Map of values for the "Create" request - Added
EmptyDateTimeto be able to diff it with null in_takeDiff - Generate options of the
selecttype of the field
0.0.2 #
- Add
fromRecordModelfactory to the generated class - Read
collectionIdandcollectionNamefrom the RecordModel - Set to read
jsonfield type asdynamic
0.0.1 #
- Create typesafe models from
pb_schema.json