Skip to content

Instantly share code, notes, and snippets.

View s-rajaraman's full-sized avatar

s-rajaraman

  • Apple
  • Austin, TX
View GitHub Profile
import 'dart:async';
import 'dart:io';
import 'package:path_provider/path_provider.dart';
class TodoStorage {
static Future<String> get _localPath async {
final directory = await getApplicationDocumentsDirectory();
return directory.path;
}