address property

String? get address

Implementation

String? get address{
  if(_coinType == null) return null;
  //Bitcoin
  if(_coinType == "0"){
    return  _p2pkh?.data.address;
  }else if(_coinType=="60"){ //Ethereum
    return _ethPrivateKey?.address.hex;
  }
  return null;
}