updateAccount method

Future<void> updateAccount(
  1. Map acc, {
  2. bool isExternal = false,
})

Implementation

Future<void> updateAccount(Map acc, {bool isExternal = false}) async {
  if (isExternal) {
    updateContact(acc);
  } else {
    _updateKeyPair(acc);
  }
}