Serializes the object to BCS format (List of bytes).
List<int> toBcs({String? property}) { final layout = createLayout(property: property); return layout.serialize(toLayoutStruct()); }