updateWidgets method

  1. @override
Future updateWidgets(
  1. List<TimeLine> list
)
override

Implementation

@override
Future updateWidgets(List<TimeLine> list) async {
  final data = jsonEncode(list.map((item) => item.toJson()).toList());
  final version = await methodChannel.invokeMethod("updateWidgets", data);
  return version;
}