tryGetList<T> method

List<T>? tryGetList<T>(
  1. String key
)

Try child List with given key. It returns null if failed.

Implementation

List<T>? tryGetList<T>(String key) => get<List?>(key)?.cast();