getByKey<T extends Object?> method

T getByKey<T extends Object?>(
  1. String key, {
  2. T? defaultValue,
  3. ObjectBuilder<T>? builder,
})

Implementation

T getByKey<T extends Object?>(
  String key, {
  T? defaultValue,
  ObjectBuilder<T>? builder,
}) {
  return findByKey(
    key,
    defaultValue: defaultValue,
    builder: builder,
  );
}