Jonathan John

Results 2 issues of Jonathan John

Consider the following class ```dart import 'dart:convert'; AdminModel adminModelFromJson(String str) => AdminModel.fromJson(json.decode(str)); String adminModelToJson(AdminModel data) => json.encode(data.toJson()); class AdminModel { String profilePicLink; String firstName; String lastName; String phone; String email;...

enhancement

Currently, there doesn't seem a direct way to mark particular fields as optional fields (especially when converting from JSON to Dart). Please include a feature by which we can selectively...

enhancement