JsonTypeObject<T> constructor

JsonTypeObject<T>({
  1. required Map<String, JsonNode> data,
  2. required String keyToString(
    1. T
    ),
  3. required T toTypedKey(
    1. String
    ),
  4. String key = "",
})

Implementation

JsonTypeObject({
  required super.data,
  required this.keyToString,
  required this.toTypedKey,
  String key = "",
}) : super(key: key);