toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'name'] = name;
  if (message != null) {
    json[r'message'] = message;
  }
  if (checks != null) {
    json[r'checks'] = checks;
  }
  json[r'status'] = status;
  if (version != null) {
    json[r'version'] = version;
  }
  if (commit != null) {
    json[r'commit'] = commit;
  }
  return json;
}