expectClient function
Implementation
SuiClient expectClient(BuildOptions options) {
if (options.client == null) {
throw ArgumentError(
"No provider passed to Transaction#build, but transaction data was not sufficient to build offline.",
);
}
return options.client!;
}