toJson method
@override Map<String, dynamic> toJson() { final json = super.toJson(); json['app_bar_attributes'] = appBarAttributes; json['bottom_bar_attributes'] = bottomBarAttributes; return json; }