Map<String, dynamic> toJson() { final dataLocation = this.dataLocation; return { if (dataLocation != null) 'dataLocation': dataLocation, }; }