dryvPacks

@dryv/flutter-api-bridgev0.1.0

A Dart/Flutter package over flutter_api_bridge with typed features, endpoints and models.

Flutter API BridgeClientsUnitPublished 7 days ago2 downloads

dryv pack add @dryv/flutter-api-bridge
330 BRaw ↗
jinja
import 'package:json_annotation/json_annotation.dart';

/// {{ property.enum.description or property.enum.name.title }}
enum {{ file.symbol }} {
{%- for item in property.enum.values %}
  @JsonValue({{ item.value | tojson | replace('"', "'") }})
  {{ item.name.camel }}{% if not loop.last %},{% else %};{% endif %}
{%- endfor %}
}