toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.repository != null) {
    json[r'repository'] = this.repository;
  } else {
    json[r'repository'] = null;
  }
  if (this.tag != null) {
    json[r'tag'] = this.tag;
  } else {
    json[r'tag'] = null;
  }
  return json;
}