arrayOrNull<T> method

List<T>? arrayOrNull<T>(
  1. String key, {
  2. Function? decoder,
  3. List? childType,
})

Get List with child T or null by String key.

Implementation

List<T>? arrayOrNull<T>(
  String key, {
  Function? decoder,
  List? childType,
}) =>
    arrayNodeOrNull<T>(key, decoder: decoder, childType: childType)?.data;