decodeListOrNull<I> method

  1. @override
List<I>? decodeListOrNull<I>({
  1. Decodable<I>? using,
})
override

Decodes the data as a nullable list of elements.

Optionally takes a Decodable to decode the elements of the list.

Implementation

@override
List<I>? decodeListOrNull<I>({Decodable<I>? using}) {
  if (decodeIsNull()) return null;
  return decodeList(using: using);
}