toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'left': left,
    'top': top,
    'width': width,
    'height': height,
    'availLeft': availLeft,
    'availTop': availTop,
    'availWidth': availWidth,
    'availHeight': availHeight,
    'devicePixelRatio': devicePixelRatio,
    'orientation': orientation.toJson(),
    'colorDepth': colorDepth,
    'isExtended': isExtended,
    'isInternal': isInternal,
    'isPrimary': isPrimary,
    'label': label,
    'id': id.toJson(),
  };
}