serialize method
Serializes to a JSON string (not BCS bytes), so an incomplete transaction can be passed around and finished elsewhere.
Implementation
@Deprecated('Use toJson() instead')
String serialize() {
return jsonEncode(serializeV1TransactionData(_blockData.snapshot()));
}