CodeGenerator class

Service to generate Flutter/Dart code from Obsly configuration

Constructors

CodeGenerator()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateAdvancedSetup(ObslyConfig config) → String
Generates advanced setup code with async initialization
generateConfigOnly(ObslyConfig config) → String
Generates only the configuration object
generateDartCode(ObslyConfig config) → String
generateJsonConfig(ObslyConfig config) → String
Generates JSON configuration
generateSimpleSetup(ObslyConfig config) → String
Generates simple setup code for beginners
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