get<T> method

T get<T>(
  1. String section,
  2. T defaultValue
)

Return a value from this configuration.

@param section Configuration name, supports dotted names. @param defaultValue A value should be returned when no value could be found, is undefined. @returns The value section denotes or the default.

Implementation

T get<T>(
  _i2.String section,
  T defaultValue,
) =>
    _i5.callMethod(
      this,
      'get',
      [
        section,
        defaultValue,
      ],
    );