HiveAdapter<T> constructor

HiveAdapter<T>(
  1. String boxName, {
  2. String keyGenerator(
    1. T
    )?,
  3. Map<String, dynamic> serializer(
    1. T
    )?,
  4. T deserializer(
    1. Map<String, dynamic>
    )?,
  5. bool storeAsMap = false,
})

Implementation

HiveAdapter(
    this.boxName, {
      this.keyGenerator,
      this.serializer,
      this.deserializer,
      this.storeAsMap = false,
    });