save method

  1. @override
Future<void> save (
  1. Map<String, dynamic> data
)
override

Implementation

@override
Future<void> save(Map<String, dynamic> data) {
  return stateFile.then((file) => file.writeAsString(json.encode(data)));
}