toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (self != null) {
    json[r'self'] = self;
  }
  if (owners != null) {
    json[r'owners'] = owners;
  }
  if (members != null) {
    json[r'members'] = members;
  }
  if (runs != null) {
    json[r'runs'] = runs;
  }
  if (logs != null) {
    json[r'logs'] = logs;
  }
  if (labels != null) {
    json[r'labels'] = labels;
  }
  return json;
}