toDefaultResponse method

CreateAccountResponse? toDefaultResponse()

Converts the CreateAccountWithKeysResponse to a CreateAccountResponse by copying the common response properties.

Implementation

CreateAccountResponse? toDefaultResponse() {
  return CreateAccountResponse(
    address: address,
    whoIs: whoIs,
  );
}