currentUser property
This retrieves the currently logged in ParseUser with a valid session, either from memory or disk if necessary.
Implementation
static Future<ParseUser> get currentUser =>
FlutterParse._channel.invokeMethod('getCurrentUser').then((jsonString) {
if (jsonString != null && jsonString is String) {
final jsonObject = json.decode(jsonString);
return ParseUser(json: jsonObject);
}
});