AccountPasskeyRegistrationOptions.deserialize constructor

AccountPasskeyRegistrationOptions.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory AccountPasskeyRegistrationOptions.deserialize(BinaryReader reader) {
  // Read [AccountPasskeyRegistrationOptions] fields.
  final options = reader.readObject() as DataJSONBase;

  // Construct [AccountPasskeyRegistrationOptions] object.
  final returnValue = AccountPasskeyRegistrationOptions(options: options);

  // Now return the deserialized [AccountPasskeyRegistrationOptions].
  return returnValue;
}