@override int get length { if (postgreSQLResult != null) { return postgreSQLResult!.length; } throw StateError("No query result defined."); }