getActiveSession method
Implementation
Future<Map<String, dynamic>> getActiveSession() async {
final raw = await methodChannel.invokeMethod("getActiveSession");
if (raw is Map) {
return Map<String, dynamic>.from(raw);
}
return {'isActive': false};
}