AccountId.deserialize constructor

AccountId.deserialize(
  1. List<int> bytes
)

Implementation

factory AccountId.deserialize(List<int> bytes) {
  final decode = TronProtocolBufferImpl.decode(bytes);
  return AccountId(
      name: decode.getField(1),
      address: TronAddress.fromBytes(decode.getField(2)));
}