toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = Map<String, dynamic>();

  data['parallaxx'] = this.parallaxX;
  data['parallaxy'] = this.parallaxY;
  data['image'] = this.image;
  data.addAll(super.toJson());
  return data;
}