getCurrentUser method
Implementation
@override
Future<PassageUser?> getCurrentUser() async {
try {
final jsonString =
await methodChannel.invokeMethod<String>('getCurrentUser');
return jsonString == null ? null : PassageUser.fromJson(jsonString);
} catch (e) {
throw PassageError.fromObject(object: e);
}
}