All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dart2.dart_constructor.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
  /// Returns a new [{{{classname}}}] instance.
  {{{classname}}}({
  {{#vars}}
    {{!
        A field is required in Dart when it is
        required && !defaultValue in OAS
    }}
    {{#required}}{{^defaultValue}}required {{/defaultValue}}{{/required}}this.{{{name}}}{{#defaultValue}} = {{#isEnum}}{{^isContainer}}const {{{enumName}}}._({{/isContainer}}{{/isEnum}}{{{.}}}{{#isEnum}}{{^isContainer}}){{/isContainer}}{{/isEnum}}{{/defaultValue}},
  {{/vars}}
  });




© 2015 - 2024 Weber Informatics LLC | Privacy Policy