TypeScriptDefinitionBuilder class
Constructors
- TypeScriptDefinitionBuilder({bool autoSnakeCaseNames = true})
-
const
Properties
- autoSnakeCaseNames → bool
-
final
-
buildExtensions
→ Map<
String, List< String> > -
Mapping from input file extension to output file extensions.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildStep buildStep) → Future -
Generates the outputs for a given
BuildStep
. -
compileToTypeScriptType(
BuildContext? ctx, String fieldName, DartType type, List< String> refs, List<CodeBuffer> ext, BuildStep buildStep) → Future<String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited