spec property

String? spec
getter/setter pair

Spec is where this wire's operations are enumerated, when they are enumerated in a document at all. Empty for a wire that describes itself over its own protocol.

Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.

Implementation

String? spec;