getDefaultList method

  1. @override
Future<RemList?> getDefaultList()
override

Implementation

@override
Future<RemList?> getDefaultList() async {
  final defaultList = await methodChannel.invokeMethod('getDefaultList');
  if (defaultList == null) return null;
  return RemList.fromJson(jsonDecode(defaultList));
}