toJson method

Map<String, dynamic> toJson()

Implementation

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