decode method Null safety

void decode(
  1. KeyedArchive object
)
override

Implementation

void decode(KeyedArchive object) {
  super.decode(object);

  authorizationURL = object.decode("authorizationUrl");

  tokenURL = object.decode("tokenUrl");
  refreshURL = object.decode("refreshUrl");

  scopes = new Map<String, String>.from(object.decode("scopes"));
}