currentMetadata property

Map<String, dynamic> get currentMetadata

Metadata stored with the current drill-down entry.

Implementation

Map<String, dynamic> get currentMetadata => _history.isNotEmpty
    ? Map.unmodifiable(JsonValue.cloneMap(_history.last.metadata))
    : const {};