MoveCall.fromJson constructor
MoveCall.fromJson(
- dynamic data
Implementation
factory MoveCall.fromJson(dynamic data) {
dynamic pkg;
if (data['package'] is String) {
pkg = data['package'];
} else {
pkg = SuiObjectRef.fromJson(data['package']);
}
return MoveCall(
pkg,
data['module'],
data['function'],
data['typeArguments'],
data['arguments']
);
}