model_annotation 0.0.5 copy "model_annotation: ^0.0.5" to clipboard
model_annotation: ^0.0.5 copied to clipboard

Library used to generate code snippets for data extraction and conversion between Model and Entity

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    // final myClassGenerated = MyClass();
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('My Library Example')),
        body: Center(
          // child: Text(myClassGenerated.message), // Sử dụng code được sinh ra
        ),
      ),
    );
  }
}
1
likes
130
points
45
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Library used to generate code snippets for data extraction and conversion between Model and Entity

Repository (GitHub)
View/report issues

Topics

#json #generation #annotation #model

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

analyzer, build, meta, source_gen

More

Packages that depend on model_annotation