getAllLists method

  1. @override
Future<List<RemList>> getAllLists()
override

Implementation

@override
Future<List<RemList>> getAllLists() async {
  final lists = await methodChannel.invokeMethod('getAllLists');
  return jsonDecode(lists)
      .map<RemList>((list) => RemList.fromJson(list))
      .toList();
}