toJson method
Implementation
Map<String, dynamic> toJson() {
final issuesEnabled = this.issuesEnabled;
final name = this.name;
final owner = this.owner;
final privateRepository = this.privateRepository;
final token = this.token;
final type = this.type;
final description = this.description;
return {
'issuesEnabled': issuesEnabled,
'name': name,
'owner': owner,
'privateRepository': privateRepository,
'token': token,
'type': type,
if (description != null) 'description': description,
};
}