toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};

  if (uuid != null) {
    json['uuid'] = uuid;
  }

  json['type'] = type;

  if (debugId != null) {
    json['debug_id'] = debugId;
  }

  if (debugFile != null) {
    json['debug_file'] = debugFile;
  }

  if (codeFile != null) {
    json['code_file'] = codeFile;
  }

  if (imageAddr != null) {
    json['image_addr'] = imageAddr;
  }

  if (imageSize != null) {
    json['image_size'] = imageSize;
  }

  if (arch != null) {
    json['arch'] = arch;
  }

  if (codeId != null) {
    json['code_id'] = codeId;
  }

  return json;
}