fromMap static method
Creates a KotlinOptions from a Map representation where:
x = KotlinOptions.fromMap(x.toMap())
.
Implementation
static KotlinOptions fromMap(Map<String, Object> map) {
return KotlinOptions(
package: map['package'] as String?,
copyrightHeader: map['copyrightHeader'] as Iterable<String>?,
errorClassName: map['errorClassName'] as String?,
includeErrorClass: map['includeErrorClass'] as bool? ?? true,
fileSpecificClassNameComponent:
map['fileSpecificClassNameComponent'] as String?,
);
}