MfaAddDevice class

Represents the result of adding a new MFA device.

This class contains the information needed to set up an MFA device, such as the device ID, secret key, and URI for generating QR codes.

Annotations
  • @freezed

Constructors

MfaAddDevice({required String id, required String secret, required String uri})
Creates a new MfaAddDevice instance.
const
factory
MfaAddDevice.fromJson(Map<String, dynamic> json)
Creates a MfaAddDevice instance from a JSON map.
factory

Properties

copyWith → $MfaAddDeviceCopyWith<MfaAddDevice>
Create a copy of MfaAddDevice with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String
no setterinherited
uri String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this MfaAddDevice to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited