currentSession method
Implementation
@override
Future<SPSession?> currentSession() {
return methodChannel.invokeMethod('currentSession').then(
(value) => value != null
? SPSession.fromMap(
Map<String, dynamic>.from(value),
)
: null,
);
}