getDeepValue<T> method

T? getDeepValue<T>(
  1. String keyPath
)

Implementation

T? getDeepValue<T>(String keyPath) {
  dynamic _value;
  keyPath.split(":").forEach((element) {
    if (_value == null)
      _value = _appConfig[element];
    else
      _value = _value[element];
  });
  return null;
}