shortHash property

String get shortHash

First 12 hex chars of contentHash — the human-decodable form used in directory names and printed keys.

Implementation

String get shortHash =>
    contentHash.length <= 12 ? contentHash : contentHash.substring(0, 12);