mapToRealm static method Null safety

PasskeyRealm mapToRealm(
  1. dynamic passkey
)

Implementation

static PasskeyRealm mapToRealm(dynamic passkey) {
  return PasskeyRealm(
    id: passkey["id"],
    displayName: passkey["displayName"],
  );
}