hasMetadataValue method

bool hasMetadataValue(
  1. String key
)

Returns true if this node has a non-null metadata value for the given metadata key, and returns false, otherwise.

Implementation

bool hasMetadataValue(String key) => _metadata[key] != null;