InputSpec class

Provides the input spec file to be used.

Provides the location of the input spec file to be used by the generator. Includes the option to use the default json or yaml paths.

Implementers

Constructors

InputSpec({required String path})
const
InputSpec.fromMap(Map<String, dynamic> map)
InputSpec.json()
const
InputSpec.yaml({bool shortExtension = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
path 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
toJsonMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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