getOption method
Implementation
Option<V> getOption(K key) {
if (containsKey(key)) {
return Some(this[key]!);
}
return const None();
}
Option<V> getOption(K key) {
if (containsKey(key)) {
return Some(this[key]!);
}
return const None();
}