Sagar Mahobia

Results 3 comments of Sagar Mahobia

https://deploy-preview-3--dart-quicktype.netlify.app/ check out and drop a comment at https://github.com/chunlee-thong/dart-quicktype/pull/3 and help it get merged by the author.

https://deploy-preview-3--dart-quicktype.netlify.app/ https://github.com/chunlee-thong/dart-quicktype/pull/3 > Add [JSON Serializable](https://pub.dev/packages/json_serializable) Option under Dart, adds the annotation and converts the json encoders/decoders to be handled by the package > > ```dart > import 'package:json_annotation/json_annotation.dart'; >...

``` @ShouldGenerate( ''' final _data = FormData(); if (image != null) { _data.files.add(MapEntry( 'image', MultipartFile.fromFileSync( image!.path, filename: image.path.split(Platform.pathSeparator).last, ), )); } ''', contains: true, ) @RestApi(baseUrl: 'https://httpbin.org/') abstract class OptionalFilePartTest...