String toJson({dynamic hint}) => RustLib.instance.api.contractMatchingToJson(that: this, hint: hint);