fromMap static method
Creates a CppOptions from a Map representation where:
x = CppOptions.fromMap(x.toMap())
.
Implementation
static CppOptions fromMap(Map<String, Object> map) {
return CppOptions(
headerIncludePath: map['header'] as String?,
namespace: map['namespace'] as String?,
copyrightHeader: map['copyrightHeader'] as Iterable<String>?,
headerOutPath: map['cppHeaderOut'] as String?,
);
}