SimpleDatabase constructor

SimpleDatabase({
  1. required String name,
  2. dynamic fromJson(
    1. Map<String, dynamic>
    )?,
})

Requires a name and an optional function used to rebuild from json

Implementation

SimpleDatabase({
  required this.name,
  this.fromJson,
});