containsChildWithValue method Null safety
- T childValue
Returns true if this node has a child with the given value.
Implementation
Future<bool> containsChildWithValue(T childValue) async {
return await getChild(childValue) != null;
}
Returns true if this node has a child with the given value.
Future<bool> containsChildWithValue(T childValue) async {
return await getChild(childValue) != null;
}