FvmConfig class

FVM Config model

Constructors

FvmConfig({required Directory configDir, required String? flutterSdkVersion, required Map<String, dynamic> flavors})
Constructor
FvmConfig.fromJson(Directory directory, String jsonString)
Returns FvmConfig in directory from jsonString
factory
FvmConfig.fromMap(Directory directory, Map<String, dynamic> map)
Returns FvmConfig in directory from map of values
factory

Properties

activeFlavor String?
Returns the active configured flavor
no setter
configDir Directory
Directory of the FVM Config
getter/setter pair
configFile File
Returns config file
no setter
exists bool
Check if config file exists
no setter
flavors Map<String, dynamic>
Flavors configured
getter/setter pair
flutterSdkPath String
Returns the path of the Flutter SDK
no setter
flutterSdkVersion String?
Flutter SDK version configured
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Returns symlink of the SDK in configured
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Returns json of FvmConfig
toMap() Map<String, dynamic>
Returns a map of values from FvmConfig
toString() String
A string representation of this object.
inherited

Operators

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