updateAccountInfo function

void updateAccountInfo(
  1. Account account,
  2. SafeAccount safeAccount
)

Implementation

void updateAccountInfo(Account account, SafeAccount safeAccount) {
  account.id = safeAccount.id;
  account.email = safeAccount.email;
  account.name = safeAccount.name;
  account.usage = safeAccount.usage;
  account.cap = safeAccount.cap;
}