@dryv/dart-client-sdkv0.1.0
A typed Dart client SDK for the application's HTTP API.
dryv pack add @dryv/dart-client-sdkenum {{ file.symbol }} {
{%- for item in property.enum.values %}
{{ item.name.camel }}({{ item.value | tojson }}){% if loop.last %};{% else %},{% endif %}
{%- endfor %}
const {{ file.symbol }}(this.value);
final String value;
static {{ file.symbol }} fromJson(String value) =>
values.firstWhere((item) => item.value == value);
String toJson() => value;
}