FutureOr<int> length() { var self = this; if (self is Future<SharedMap<K, V>>) { return self.length(); } else { return self.length(); } }