toMap method

Map<String, Object> toMap()

Converts a GObjectOptions to a Map representation where: x = GObjectOptions.fromMap(x.toMap()).

Implementation

Map<String, Object> toMap() {
  final Map<String, Object> result = <String, Object>{
    if (headerIncludePath != null) 'header': headerIncludePath!,
    if (module != null) 'module': module!,
    if (copyrightHeader != null) 'copyrightHeader': copyrightHeader!,
  };
  return result;
}