getActivatedSessions method
Implementation
@override
Future<List<Session>> getActivatedSessions() async {
final rawSessions =
await methodChannel.invokeMethod('getActivatedSessions');
final List<dynamic> result = jsonDecode(jsonEncode(rawSessions));
return result.map((e) => Session.fromJson(e)).toList();
}