SuiIntent.deserialize constructor

SuiIntent.deserialize(
  1. List<int> bytes, {
  2. String? property,
})

Implementation

factory SuiIntent.deserialize(List<int> bytes, {String? property}) {
  final decode = BcsSerialization.deserialize(
      bytes: bytes, layout: layout(property: property));
  return SuiIntent.fromStruct(decode);
}