hive dart type adapter code example
Example: hive dart type adapter
import 'package:hive/hive.dart';part 'inventory_model.g.dart';()class Inventory { (0) final String name; (1) final String description; Inventory({this.name, this.description});}