toJson method

Map<String, dynamic> toJson()

Implementation

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