ual data is not a <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a> of <code>T</code>, calls <code>builder</code> to get one</p>
</section>


    
<section class="summary source-code" id="source">
  <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">List&lt;T&gt;? listOf&lt;T&gt;([T? Function(dynamic)? builder]) {
  if (_rawValue is List) {
    try {
      return (_rawValue as List).map&lt;T&gt;((dynamic e) {
        if (e is T) {
       