code: def default(self) -> typing.Optional[Profile]:
          
          found = self.database.execute(
              "SELECT name, data FROM profiles WHERE selected"
              " ORDER BY name LIMIT 1").fetchone()
          if found is None:
              return None
          else:
              state = json.loads(found[1])
              state["name"] = found[0]  # Belt-n-braces.
              return Profile(**state)
docs: The name of the default profile to use, or `None`.