read<T> method
Implementation
T read<T>(String name) {
final value = this[name];
if (value == null) {
throw Exception('没有设置$name 参数!');
}
return value as T;
}
T read<T>(String name) {
final value = this[name];
if (value == null) {
throw Exception('没有设置$name 参数!');
}
return value as T;
}