Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'w'] = this.w; json[r'h'] = this.h; json[r'src'] = this.src; return json; }