factory QueryConfiguration.fromJson(Map<String, dynamic> json) => throw UnimplementedError( 'This must be implemented by the QueryConfiguration subclass');