Map<String, dynamic> toMap() { // ignore: unnecessary_cast return { 'links': this.links, 'position': this.position, 'panoId': this.panoId, } as Map<String, dynamic>; }