encode method

  1. @override
String encode(
  1. T value
)
override

Encodes a value of type T to the storage type TStore.

Implementation

@override
String encode(T value) => jsonEncode(toJson(value));