DebugImage.fromJson constructor

DebugImage.fromJson(
  1. Map<String, dynamic> data
)

Deserializes a DebugImage from JSON Map.

Implementation

factory DebugImage.fromJson(Map<String, dynamic> data) {
  final json = AccessAwareMap(data);
  return DebugImage(
    type: json['type'],
    name: json['name'],
    imageAddr: json['image_addr'],
    imageVmAddr: json['image_vmaddr'],
    debugId: json['debug_id'],
    debugFile: json['debug_file'],
    imageSize: json['image_size'],
    uuid: json['uuid'],
    codeFile: json['code_file'],
    arch: json['arch'],
    codeId: json['code_id'],
    cpuType: json['cpu_type'],
    cpuSubtype: json['cpu_subtype'],
    unknown: json.notAccessed(),
  );
}