content: // GENERATED CODE - DO NOT MODIFY BY HAND
  
  // ignore_for_file: non_constant_identifier_names
  
  part of 'json_persist.dart';
  
  // **************************************************************************
  // JsonSerializableGenerator
  // **************************************************************************
  
  _Todo _$TodoFromJson(Map<String, dynamic> json) =>
      _Todo(task: json['task'] as String);
  
  Map<String, dynamic> _$TodoToJson(_Todo instance) => <String, dynamic>{
    'task': instance.task,
  };
  
  // **************************************************************************
  // RiverpodGenerator
  // **************************************************************************
  
  // GENERATED CODE - DO NOT MODIFY BY HAND
  // ignore_for_file: type=lint, type=warning
  
  @ProviderFor(TodoList)
  @JsonPersist()
  const todoListProvider = TodoListProvider._();
  
  @JsonPersist()
  final class TodoListProvider
      extends $AsyncNotifierProvider<TodoList, List<Todo>> {
    const TodoListProvider._()
      : super(
          from: null,
          argument: null,
          retry: null,
          name: r'todoListProvider',
          isAutoDispose: true,
          dependencies: null,
          $allTransitiveDependencies: null,
        );
  
    @override
    String debugGetCreateSourceHash() => _$todoListHash();
  
    @$internal
    @override
    TodoList create() => TodoList();
  }
  
  String _$todoListHash() => r'b8211bb469ef7fe39b791d0f7f5bbac247e3513b';
  
  @JsonPersist()
  abstract class _$TodoListBase extends $AsyncNotifier<List<Todo>> {
    FutureOr<List<Todo>> build();
    @$mustCallSuper
    @override
    void runBuild() {
      final created = build();
      final ref = this.ref as $Ref<AsyncValue<List<Todo>>, List<Todo>>;
      final element =
          ref.element
              as $ClassProviderElement<
                AnyNotifier<AsyncValue<List<Todo>>, List<Todo>>,
                AsyncValue<List<Todo>>,
                Object?,
                Object?
              >;
      element.handleValue(ref, created);
    }
  }
  
  // **************************************************************************
  // JsonGenerator
  // **************************************************************************
  
  // GENERATED CODE - DO NOT MODIFY BY HAND
  abstract class _$TodoList extends _$TodoListBase {
    /// The default key used by [persist].
    String get key {
      const resolvedKey = "TodoList";
      return resolvedKey;
    }
  
    /// A variant of [persist], for JSON-specific encoding.
    ///
    /// You can override [key] to customize the key used for storage.
    PersistResult persist(
      FutureOr<Storage<String, String>> storage, {
      String? key,
      String Function(List<Todo> state)? encode,
      List<Todo> Function(String encoded)? decode,
      StorageOptions options = const StorageOptions(),
    }) {
      return NotifierPersistX(this).persist<String, String>(
        storage,
        key: key ?? this.key,
        encode: encode ?? $jsonCodex.encode,
        decode:
            decode ??
            (encoded) {
              final e = $jsonCodex.decode(encoded);
              return (e as List)
                  .map((e) => Todo.fromJson(e as Map<String, Object?>))
                  .toList();
            },
        options: options,
      );
    }
  }
  