gets<T extends Object?> static method
List<T>
gets<T extends Object?>(
- String key, {
- String? path,
- List<
T> ? defaultValue, - EnvironmentType? environment,
- PlatformType? platform,
- T? parser()?,
- T? modifier(
- T
Implementation
static List<T> gets<T extends Object?>(
String key, {
String? path,
List<T>? defaultValue,
EnvironmentType? environment,
PlatformType? platform,
T? Function(Object?)? parser,
T? Function(T)? modifier,
}) {
List<T>? value = getsOrNull(
key,
path: path,
defaultValue: defaultValue,
environment: environment,
platform: platform,
parser: parser,
modifier: modifier,
);
if (value != null) return value;
throw UnimplementedError("${List<T>} didn't get from this ${i._name}");
}