pub fn get_or_default<T>(key: &[u8]) -> Twhere
    T: Decode + Default,
Expand description

Return the value of the item in storage under key, or the type’s default if there is no explicit entry.