toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'name': name,
  'cacheable': cacheable,
  'dirtyBeforePaint': dirtyBeforePaint,
  'sizeChanged': sizeChanged,
  'cacheHit': cacheHit,
  'recordedPicture': recordedPicture,
  'retainedPicture': retainedPicture,
  'skippedPictureCacheWrite': skippedPictureCacheWrite,
  'livePaint': livePaint,
  'paintMicros': paintDuration.inMicroseconds,
};