actingUser<T> static method

T? actingUser<T>()

Get the currently acting user.

Implementation

static T? actingUser<T>() {
  if (_currentUser is T) {
    return _currentUser as T;
  }
  return null;
}