SharedProtectedPod<A, B> constructor

SharedProtectedPod<A, B>(
  1. String key, {
  2. required FutureOr<A?>? fromValue(
    1. B? rawValue
    ),
  3. required FutureOr<B?>? toValue(
    1. A? value
    ),
  4. A? initialValue,
})

Implementation

SharedProtectedPod(
  super.key, {
  required super.fromValue,
  required super.toValue,
  super.initialValue,
});