toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (defaultBranch != null) 'defaultBranch': defaultBranch!,
  if (gitignores != null) 'gitignores': gitignores!,
  if (license != null) 'license': license!,
  if (readme != null) 'readme': readme!,
};