setAccount abstract method

void setAccount(
  1. Account? account
)

Sets the account that is used by services. Use this method before onStart to avoid double request to server

The class maintains a strong reference to the object in the 'account' parameter until it (the class) is invalidated.

Implementation

void setAccount(runtime_auth_account.Account? account);