model_annotation 0.0.2 copy "model_annotation: ^0.0.2" to clipboard
model_annotation: ^0.0.2 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
0
points
50
downloads

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

unknown (license)

Dependencies

analyzer, build, flutter, meta, source_gen

More

Packages that depend on model_annotation