tryGet method

  1. @override
(bool, String?) tryGet(
  1. String key
)
override

Tries to get a configuration value for the specified key.

Implementation

@override
(bool, String?) tryGet(String key) {
  if (data.containsKey(key)) {
    return (true, data[key]);
  }
  return (false, null);
}