updateWidgets method
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;
}