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