contract static method

Any contract(
  1. Contract contract
)

Implementation

static Any contract(Contract contract) => Any(
      typeUrl: contractTypeUrl,
      value: contract.writeToBuffer(),
    );