toJson method

  1. @override
Map toJson()
override

Implementation

@override
Map toJson() {
  return {
    'offsetTop': offsetTop,
    'pageScaleFactor': pageScaleFactor,
    'deviceWidth': deviceWidth,
    'deviceHeight': deviceHeight,
    'scrollOffsetX': scrollOffsetX,
    'scrollOffsetY': scrollOffsetY,
    'timestamp': timestamp
  };
}