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

Data Modeling for the local madman

example/lib/example.dart

import 'package:artifact/artifact.dart';

@artifact
class Animal {
  final int health;

  const Animal({@rename("hp") required this.health});
}

@artifact
class Dog extends Animal {
  final bool goodBoy;

  const Dog({required this.goodBoy, required super.health});
}

void main() {}
0
likes
130
points
80
downloads

Publisher

verified publisherarcane.art

Weekly Downloads

Data Modeling for the local madman

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

fast_log, toxic

More

Packages that depend on artifact