PushMechanism constructor

PushMechanism(
  1. String? id,
  2. String? mechanismUID,
  3. String? issuer,
  4. String? accountName,
  5. String? type,
  6. String? secret,
  7. String? registrationEndpoint,
  8. String? authenticationEndpoint,
  9. int? timeAdded, [
  10. Account? account,
])

Creates PushMechanism object with given information.

Implementation

PushMechanism(
    String? id,
    String? mechanismUID,
    String? issuer,
    String? accountName,
    String? type,
    String? secret,
    String? registrationEndpoint,
    String? authenticationEndpoint,
    int? timeAdded,
    [Account? account])
    : super(id, mechanismUID, issuer, accountName, type, secret, timeAdded,
          account) {
  this.authenticationEndpoint = authenticationEndpoint;
  this.registrationEndpoint = registrationEndpoint;
}