toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'id'] = this.id;
  json[r'name'] = this.name;
  json[r'balenaType'] = this.balenaType;
  json[r'appName'] = this.appName;
  json[r'channelType'] = this.channelType;
  if (this.logbotLink != null) {
    json[r'logbotLink'] = this.logbotLink;
  } else {
    json[r'logbotLink'] = null;
  }
  return json;
}