MockSuperuser constructor

const MockSuperuser({
  1. bool isSuperuser = false,
  2. bool isActivated = false,
  3. String whoAmI = "",
  4. Set<String> groups = const <String>{},
})

Create mocked properties of SuperuserInterface to emulate superuser status.

Implementation

const MockSuperuser(
    {this.isSuperuser = false,
    this.isActivated = false,
    this.whoAmI = "",
    this.groups = const <String>{}});