fromMap static method

CppOptions fromMap(
  1. Map<String, Object> map
)

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['headerIncludePath'] as String?,
    namespace: map['namespace'] as String?,
    copyrightHeader: map['copyrightHeader'] as Iterable<String>?,
    headerOutPath: map['cppHeaderOut'] as String?,
  );
}