of static method

AuthModalArgs of(
  1. dynamic dyn
)
override

Implementation

static AuthModalArgs of(final dyn) {
  if (dyn is AuthModalArgs) return dyn;
  if (dyn == null) return AuthModalArgs();
  return AuthModalArgs(showLogo: dyn["showLogo"] != false);
}