toMap method
Converts a SwiftOptions to a Map representation where:
x = SwiftOptions.fromList(x.toMap())
.
Implementation
Map<String, Object> toMap() {
final Map<String, Object> result = <String, Object>{
if (copyrightHeader != null) 'copyrightHeader': copyrightHeader!,
if (errorClassName != null) 'errorClassName': errorClassName!,
};
return result;
}