decodeAsList<E> method
Implementation
E? decodeAsList<E>(String source) {
if (source.startsWith('{')) {
throw Exception('use decodeAs instead');
}
if (source.startsWith('[')) {
final List list = decode(source);
return list.convert<E>();
}
return null;
}