FillController class final

Handles generating files

Constructors

FillController.new({required GeneratorConfig config, OpenApiInfo info = const OpenApiInfo(schemaVersion: OAS.v3_1)})
Constructor that accepts configuration parameters with default values to create files
const

Properties

config GeneratorConfig
Config
final
hashCode int
The hash code for this object.
no setterinherited
info OpenApiInfo
Api info
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fillDtoContent(UniversalDataClass dataClass) GeneratedFile
Return GeneratedFile generated from given UniversalDataClass
fillExportFile({required List<GeneratedFile> restClients, required List<GeneratedFile> dataClasses, required GeneratedFile? rootClient}) GeneratedFile
Return GeneratedFile with all exports from all files
fillRestClientContent(UniversalRestClient restClient) GeneratedFile
Return GeneratedFile generated from given UniversalRestClient
fillRootClient(Iterable<UniversalRestClient> clients) GeneratedFile
Return GeneratedFile root client generated from given clients
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