FakePerson constructor

FakePerson({
  1. required String id,
  2. required String handle,
  3. required String displayName,
  4. String kind = 'user',
  5. String? loginName,
  6. String? password,
  7. String? totpCode,
  8. bool isOwner = false,
  9. bool newDevicesPending = false,
})

Creates a principal; kind is user or agent.

Implementation

FakePerson({
  required this.id,
  required this.handle,
  required this.displayName,
  this.kind = 'user',
  this.loginName,
  this.password,
  this.totpCode,
  this.isOwner = false,
  this.newDevicesPending = false,
});