nimbus_annotation 1.0.0+4 copy "nimbus_annotation: ^1.0.0+4" to clipboard
nimbus_annotation: ^1.0.0+4 copied to clipboard

nimbus_annotation is a annotation for flutter_generator inspired by Chopper and Retrofit

example/lib/example.dart

import 'package:nimbus_annotation/nimbus_annotation.dart';

@DatasetSerializable()
class ApiResponseModel {
  ApiResponseModel({this.common});

  @DatasetHeader()
  final CommonSchema? common;
}

@SchemaSerializable()
class CommonSchema {
  CommonSchema({this.resultCode, this.resultMessage});

  final String? resultCode;
  final String? resultMessage;
}
0
likes
150
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

nimbus_annotation is a annotation for flutter_generator inspired by Chopper and Retrofit

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on nimbus_annotation