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

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

There is a newer version: 8.1
Show newest version
{{#items}}
  {{#isMap}}
    (data as Map).cast().map((String key, dynamic data) => MapEntry(key, (dynamic data) { return {{>_from_json}}; }(data) ))
  {{/isMap}}
  {{#isArray}}
    (data as Map).cast().map((String key, dynamic data) => MapEntry(key, (dynamic data) { return {{>_from_json}}; }(data) ))
  {{/isArray}}
  {{^items}}
    {{#isEnum}}
      (data as Map).cast().map((String key, dynamic data) => MapEntry(key, {{>_from_json}} ))
    {{/isEnum}}
    {{#isDateTime}}
      (data as Map).cast().map((String key, dynamic data) => MapEntry(key, {{>_from_json}} ))
    {{/isDateTime}}
    {{#isDate}}
      (data as Map).cast().map((String key, dynamic data) => MapEntry(key, {{>_from_json}} ))
    {{/isDate}}
    {{#isModel}}
      (data as Map).cast().map((String key, dynamic data) => MapEntry(key, {{>_from_json}} ))
    {{/isModel}}
    {{#isPrimitiveType}}
      (data as Map).cast()
    {{/isPrimitiveType}}
  {{/items}}
{{/items}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy