getEmail method

Future<String?> getEmail()

Gets the email of the currently logged in user, if one exists.

Implementation

Future<String?> getEmail() async {
  final result = await _postMessage('getEmail');
  return result[0];
}