PushMechanism class
Represents an instance of a Push authentication mechanism. Associated with an Account.
Constructors
- PushMechanism(String? id, String? mechanismUID, String? issuer, String? accountName, String? type, String? secret, String? registrationEndpoint, String? authenticationEndpoint, int? timeAdded, [Account? account])
- Creates PushMechanism object with given information.
-
PushMechanism.fromJson(Map<
String, dynamic> json, [Account? account]) -
Deserializes the specified Json into an object of the PushMechanism object.
factory
Properties
- account ↔ Account?
-
getter/setter pairinherited
- accountName ↔ String?
-
getter/setter pairinherited
- authenticationEndpoint ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pairinherited
- issuer ↔ String?
-
getter/setter pairinherited
- mechanismUID ↔ String?
-
getter/setter pairinherited
- registrationEndpoint ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeAdded ↔ int?
-
getter/setter pairinherited
- type ↔ String?
-
getter/setter pairinherited
Methods
-
getAccount(
) → Account? -
Gets the Account object associated with the mechanism.
inherited
-
getAccountId(
) → String -
Gets the account identification associated with the mechanism.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAccount(
Account account) → void -
Sets the Account object associated with the mechanism.
inherited
-
toJson(
) → Map< String, dynamic> -
Creates a JSON string representation of PushMechanism object.
override
-
toString(
) → String -
Creates a String representation of PushMechanism object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited