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