All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dart2-v3template._array_copy.mustache Maven / Gradle / Ivy

There is a newer version: 8.1
Show newest version
{{#items}}
  {{#isArray}}
    (data as List).map((data) { ((data) { return {{>_copy}};})(data); }).toList()
  {{/isArray}}
  {{#isMap}}
      (data as List).map((data) { ((data) { return {{>_copy}};})(data); }).toList()
  {{/isMap}}
  {{^items}}
    {{#isEnum}}
      (data as List<{{enumName}}>).toList()
    {{/isEnum}}
    {{#isDateTime}}
      (data as List).toList()
    {{/isDateTime}}
    {{#isDate}}
      (data as List).toList()
    {{/isDate}}
    {{#isModel}}
     (data as List<{{complexType}}>).map((data) => data.copyWith()).toList()
    {{/isModel}}
    {{#isPrimitiveType}}
      (data as List<{{{dataType}}}>).toList()
    {{/isPrimitiveType}}
  {{/items}}
{{/items}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy