Config.fromMap constructor
Implementation
factory Config.fromMap(Map<String, dynamic> map) {
return Config(
simple: map['simple'] ?? _defaultSimple,
prefixedIdentifier:
map['prefixed_identifier'] ?? _defaultPrefixedIdentifier,
interpolation: map['interpolation'] ?? _defaultInterpolation,
binary: map['binary'] ?? _defaultBinary,
adjacent: map['adjacent'] ?? _defaultAdjacent,
method: map['method'] ?? _defaultMethod,
simpleIdentifier: map['simple_identifier'] ?? _defaultSimpleIdentifier,
property: map['property'] ?? _defaultProperty,
function: map['function'] ?? _defaultFunction,
severity: ErrorSeverityExt.fromString(map['severity']),
);
}