toData method

Implementation

SignatureV2DescriptorDataArgs toData() {
  if (single != null) {
    return SignatureV2DescriptorDataArgs(single!.toData());
  }

  // if (this.Multi != null)
  // {
  //     return new SignatureV2DescriptorDataArgs()
  //     {
  //         Multi = this.Multi.ToData()
  //     };
  // }

  throw Exception("must be one of single or multi");
}