217 lines
6.9 KiB
Dart
217 lines
6.9 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'models.dart';
|
|
|
|
// **************************************************************************
|
|
// BuiltValueGenerator
|
|
// **************************************************************************
|
|
|
|
const EntityAction _$edit = const EntityAction._('edit');
|
|
const EntityAction _$archive = const EntityAction._('archive');
|
|
const EntityAction _$delete = const EntityAction._('delete');
|
|
const EntityAction _$restore = const EntityAction._('restore');
|
|
const EntityAction _$remove = const EntityAction._('remove');
|
|
const EntityAction _$clone = const EntityAction._('clone');
|
|
const EntityAction _$cloneToCredit = const EntityAction._('cloneToCredit');
|
|
const EntityAction _$cloneToInvoice = const EntityAction._('cloneToInvoice');
|
|
const EntityAction _$cloneToQuote = const EntityAction._('cloneToQuote');
|
|
const EntityAction _$cloneToRecurring =
|
|
const EntityAction._('cloneToRecurring');
|
|
const EntityAction _$convert = const EntityAction._('convert');
|
|
const EntityAction _$approve = const EntityAction._('approve');
|
|
const EntityAction _$apply = const EntityAction._('apply');
|
|
const EntityAction _$download = const EntityAction._('download');
|
|
const EntityAction _$emailInvoice = const EntityAction._('emailInvoice');
|
|
const EntityAction _$emailQuote = const EntityAction._('emailQuote');
|
|
const EntityAction _$emailCredit = const EntityAction._('emailCredit');
|
|
const EntityAction _$emailPayment = const EntityAction._('emailPayment');
|
|
const EntityAction _$markSent = const EntityAction._('markSent');
|
|
const EntityAction _$markPaid = const EntityAction._('markPaid');
|
|
const EntityAction _$newClient = const EntityAction._('newClient');
|
|
const EntityAction _$newInvoice = const EntityAction._('newInvoice');
|
|
const EntityAction _$newRecurringInvoice =
|
|
const EntityAction._('newRecurringInvoice');
|
|
const EntityAction _$newQuote = const EntityAction._('newQuote');
|
|
const EntityAction _$newCredit = const EntityAction._('newCredit');
|
|
const EntityAction _$newExpense = const EntityAction._('newExpense');
|
|
const EntityAction _$newProject = const EntityAction._('newProject');
|
|
const EntityAction _$newTask = const EntityAction._('newTask');
|
|
const EntityAction _$viewInvoice = const EntityAction._('viewInvoice');
|
|
const EntityAction _$viewQuote = const EntityAction._('viewQuote');
|
|
const EntityAction _$clientPortal = const EntityAction._('clientPortal');
|
|
const EntityAction _$newPayment = const EntityAction._('newPayment');
|
|
const EntityAction _$settings = const EntityAction._('settings');
|
|
const EntityAction _$refund = const EntityAction._('refund');
|
|
const EntityAction _$viewPdf = const EntityAction._('viewPdf');
|
|
const EntityAction _$more = const EntityAction._('more');
|
|
const EntityAction _$start = const EntityAction._('start');
|
|
const EntityAction _$resume = const EntityAction._('resume');
|
|
const EntityAction _$stop = const EntityAction._('stop');
|
|
const EntityAction _$toggleMultiselect =
|
|
const EntityAction._('toggleMultiselect');
|
|
const EntityAction _$reverse = const EntityAction._('reverse');
|
|
const EntityAction _$cancel = const EntityAction._('cancel');
|
|
const EntityAction _$copy = const EntityAction._('copy');
|
|
|
|
EntityAction _$valueOf(String name) {
|
|
switch (name) {
|
|
case 'edit':
|
|
return _$edit;
|
|
case 'archive':
|
|
return _$archive;
|
|
case 'delete':
|
|
return _$delete;
|
|
case 'restore':
|
|
return _$restore;
|
|
case 'remove':
|
|
return _$remove;
|
|
case 'clone':
|
|
return _$clone;
|
|
case 'cloneToCredit':
|
|
return _$cloneToCredit;
|
|
case 'cloneToInvoice':
|
|
return _$cloneToInvoice;
|
|
case 'cloneToQuote':
|
|
return _$cloneToQuote;
|
|
case 'cloneToRecurring':
|
|
return _$cloneToRecurring;
|
|
case 'convert':
|
|
return _$convert;
|
|
case 'approve':
|
|
return _$approve;
|
|
case 'apply':
|
|
return _$apply;
|
|
case 'download':
|
|
return _$download;
|
|
case 'emailInvoice':
|
|
return _$emailInvoice;
|
|
case 'emailQuote':
|
|
return _$emailQuote;
|
|
case 'emailCredit':
|
|
return _$emailCredit;
|
|
case 'emailPayment':
|
|
return _$emailPayment;
|
|
case 'markSent':
|
|
return _$markSent;
|
|
case 'markPaid':
|
|
return _$markPaid;
|
|
case 'newClient':
|
|
return _$newClient;
|
|
case 'newInvoice':
|
|
return _$newInvoice;
|
|
case 'newRecurringInvoice':
|
|
return _$newRecurringInvoice;
|
|
case 'newQuote':
|
|
return _$newQuote;
|
|
case 'newCredit':
|
|
return _$newCredit;
|
|
case 'newExpense':
|
|
return _$newExpense;
|
|
case 'newProject':
|
|
return _$newProject;
|
|
case 'newTask':
|
|
return _$newTask;
|
|
case 'viewInvoice':
|
|
return _$viewInvoice;
|
|
case 'viewQuote':
|
|
return _$viewQuote;
|
|
case 'clientPortal':
|
|
return _$clientPortal;
|
|
case 'newPayment':
|
|
return _$newPayment;
|
|
case 'settings':
|
|
return _$settings;
|
|
case 'refund':
|
|
return _$refund;
|
|
case 'viewPdf':
|
|
return _$viewPdf;
|
|
case 'more':
|
|
return _$more;
|
|
case 'start':
|
|
return _$start;
|
|
case 'resume':
|
|
return _$resume;
|
|
case 'stop':
|
|
return _$stop;
|
|
case 'toggleMultiselect':
|
|
return _$toggleMultiselect;
|
|
case 'reverse':
|
|
return _$reverse;
|
|
case 'cancel':
|
|
return _$cancel;
|
|
case 'copy':
|
|
return _$copy;
|
|
default:
|
|
throw new ArgumentError(name);
|
|
}
|
|
}
|
|
|
|
final BuiltSet<EntityAction> _$values =
|
|
new BuiltSet<EntityAction>(const <EntityAction>[
|
|
_$edit,
|
|
_$archive,
|
|
_$delete,
|
|
_$restore,
|
|
_$remove,
|
|
_$clone,
|
|
_$cloneToCredit,
|
|
_$cloneToInvoice,
|
|
_$cloneToQuote,
|
|
_$cloneToRecurring,
|
|
_$convert,
|
|
_$approve,
|
|
_$apply,
|
|
_$download,
|
|
_$emailInvoice,
|
|
_$emailQuote,
|
|
_$emailCredit,
|
|
_$emailPayment,
|
|
_$markSent,
|
|
_$markPaid,
|
|
_$newClient,
|
|
_$newInvoice,
|
|
_$newRecurringInvoice,
|
|
_$newQuote,
|
|
_$newCredit,
|
|
_$newExpense,
|
|
_$newProject,
|
|
_$newTask,
|
|
_$viewInvoice,
|
|
_$viewQuote,
|
|
_$clientPortal,
|
|
_$newPayment,
|
|
_$settings,
|
|
_$refund,
|
|
_$viewPdf,
|
|
_$more,
|
|
_$start,
|
|
_$resume,
|
|
_$stop,
|
|
_$toggleMultiselect,
|
|
_$reverse,
|
|
_$cancel,
|
|
_$copy,
|
|
]);
|
|
|
|
Serializer<EntityAction> _$entityActionSerializer =
|
|
new _$EntityActionSerializer();
|
|
|
|
class _$EntityActionSerializer implements PrimitiveSerializer<EntityAction> {
|
|
@override
|
|
final Iterable<Type> types = const <Type>[EntityAction];
|
|
@override
|
|
final String wireName = 'EntityAction';
|
|
|
|
@override
|
|
Object serialize(Serializers serializers, EntityAction object,
|
|
{FullType specifiedType = FullType.unspecified}) =>
|
|
object.name;
|
|
|
|
@override
|
|
EntityAction deserialize(Serializers serializers, Object serialized,
|
|
{FullType specifiedType = FullType.unspecified}) =>
|
|
EntityAction.valueOf(serialized as String);
|
|
}
|
|
|
|
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new
|