   return e;
        } else if (builder != null) {
          T? built = builder(e);

          if (built != null) {
            return built;
          }
        }

        exception = exception ??
            JsonException(JsonError.wrongType, userReason: &#39;JSON Error: at least one element is not of type `$T`&#39;);

        throw exception!;
      }).toList();
    } on JsonException catch (_) {
      return null;
    }
  }

  return null;
}</code></pre>
</section>


  </div> <!-- /.main-content -->

  