Configuration class Null safety

BD L10n configuration representation.

Available Extensions
Annotations
  • @JsonSerializable(anyMap: true, disallowUnrecognizedKeys: true, checked: true)

Constructors

Configuration({required ProjectType projectType, required List<FeatureConfiguration> features, String? projectDirPath})
Create a Configuration with the projectType list of features and projectDirPath.
Configuration.fromJson(Map<Object?, Object?> json)
Create Configuration from json representation.
factory
Configuration.fromYaml(File yamlFile, {String? projectDirPath})
Create a Configuration from yamlFile.
factory

Properties

features List<FeatureConfiguration>
Localization Features used in this project.
@JsonKey(disallowNullValue: true, required: true)final
hashCode int
The hash code for this object.
read-onlyinherited
projectDirPath String
Project dir path of this utilityName.
@JsonKey(name: 'project-dir-path', disallowNullValue: true, required: false, includeIfNull: false)final
projectType ProjectType
Project type that utilityName is being used for.
@JsonKey(name: 'project-type', disallowNullValue: true, required: true)final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<Object?, Object?>
Convert Configuration to a json representation.
toString() String
A string representation of this object.
override

Operators

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