GeneratorScript class

Interface to the C# protobuf generator

Constructors

GeneratorScript.path(List<String> include, {List<String>? exclude, String? directory, String? overrideGeneratorVersion})
Generate for a all files in the globbed paths
GeneratorScript.project(List<String> projects, {String? overrideGeneratorVersion})
Generate for a list of projects. Passed paths need to point to a .csproj file.

Properties

args List<String>
final
hashCode int
The hash code for this object.
no setterinherited
overrideGeneratorVersion String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() Future<List<int>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

supportedVersion → const String