Closed mmvergara closed 3 months ago
final x = Books.fromJson(sampleJson); final x_author = Author.fromJson(x.author_id as Map<String, dynamic>);
Pros:
Cons:
fromJson
update fromJson to check for nullable regardless if the field is null
Need to add Example for this
Current way to handle the relationship issue
Pros:
Cons:
fromJson
will fail~