getVec method Null safety

List<XdrSCVal>? getVec()

Implementation

List<XdrSCVal>? getVec() {
  return this.obj?.vec;
}