getAddress method Null safety

XdrSCAddress? getAddress()

Implementation

XdrSCAddress? getAddress() {
  return this.obj?.address;
}