core.Map<core.String, core.dynamic> toJson() { final states = this.states; return {'states': ?states}; }