artifact 1.0.11 copy "artifact: ^1.0.11" to clipboard
artifact: ^1.0.11 copied to clipboard

Data Modeling for the local madman

example/lib/example.dart

import 'package:artifact/artifact.dart';
import 'package:example/testd.dart';

// User facing, defines crud here
@artifact
@crud([CrudModel("test", User)])
class User {
  @attach("dat")
  final int x;

  const User({required this.x});
}

// This is the "custom" annotation which hooks into artifact
class crud extends attach<List<CrudModel>> {
  const crud(super.data);
}
0
likes
0
points
910
downloads

Publisher

verified publisherarcane.art

Weekly Downloads

Data Modeling for the local madman

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

fast_log, toxic

More

Packages that depend on artifact