|
|
|
|
@ -14,15 +14,6 @@
|
|
|
|
|
<option name="JAVA_CODE" value="true" />
|
|
|
|
|
</context>
|
|
|
|
|
</template>
|
|
|
|
|
<template name="ssf" value="/// $comment$ static String $name$($params$) => '$baseURL/$path$/';" description="static String function" toReformat="false" toShortenFQNames="true" deactivated="true">
|
|
|
|
|
<variable name="name" expression="" defaultValue="" alwaysStopAt="true" />
|
|
|
|
|
<variable name="params" expression="" defaultValue="" alwaysStopAt="true" />
|
|
|
|
|
<variable name="path" expression="" defaultValue="" alwaysStopAt="true" />
|
|
|
|
|
<variable name="comment" expression="" defaultValue="" alwaysStopAt="true" />
|
|
|
|
|
<context>
|
|
|
|
|
<option name="DART" value="true" />
|
|
|
|
|
</context>
|
|
|
|
|
</template>
|
|
|
|
|
<template name="resp" value="/// $comment$ Future<$type$> $name$({@required $params$}) => _post<$type$>( $path$, (json) => $type$(json), data: {'$params$': $params$}, );" description="create a request function" toReformat="false" toShortenFQNames="true" deactivated="true">
|
|
|
|
|
<variable name="type" expression="" defaultValue=""TYPE"" alwaysStopAt="true" />
|
|
|
|
|
<variable name="name" expression="lowercaseAndDash(type)" defaultValue="" alwaysStopAt="false" />
|
|
|
|
|
@ -33,10 +24,4 @@
|
|
|
|
|
<option name="DART" value="true" />
|
|
|
|
|
</context>
|
|
|
|
|
</template>
|
|
|
|
|
<template name="built_value_class" value="abstract class $CLASS_NAME$ implements Built<$CLASS_NAME$, $CLASS_NAME$Builder> { $CLASS_NAME$._(); factory $CLASS_NAME$([void Function($CLASS_NAME$Builder) updates]) = _$$$CLASS_NAME$; }" description="" toReformat="false" toShortenFQNames="true">
|
|
|
|
|
<variable name="CLASS_NAME" expression="" defaultValue="" alwaysStopAt="true" />
|
|
|
|
|
<context>
|
|
|
|
|
<option name="DART_TOPLEVEL" value="true" />
|
|
|
|
|
</context>
|
|
|
|
|
</template>
|
|
|
|
|
</templateSet>
|