toJson method
Implementation
@override
Map<String, Object?> toJson(TraceBlobWriter blob) => <String, Object?>{
'id': id,
'size': size,
'format': textureFormatWire.write(format),
'faces': faces.map(blob.add).toList(),
'mipLevels': mipLevels?.map((face) => face.map(blob.add).toList()).toList(),
};