toMap method

Map<String, Object> toMap()

转为map对象

Implementation

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