deserialize static method

RawTransactionWithData deserialize(
  1. Deserializer deserializer
)

Implementation

static RawTransactionWithData deserialize(Deserializer deserializer) {
  int index = deserializer.deserializeUleb128AsU32();
  switch (index) {
    case 0:
      return MultiAgentRawTransaction.load(deserializer);
    default:
      throw ArgumentError("Unknown variant index for RawTransactionWithData: $index");
  }
}