toMap method

Map<String, Object> toMap()

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

Implementation

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