This commit is contained in:
Hillel Coren 2021-01-25 17:16:22 +02:00
parent 0480b5e307
commit 4997964f4f
5 changed files with 99 additions and 43 deletions

View File

@ -44,6 +44,9 @@ class _$AccountEntitySerializer implements StructuredSerializer<AccountEntity> {
'is_docker',
serializers.serialize(object.isDocker,
specifiedType: const FullType(bool)),
'is_scheduler_running',
serializers.serialize(object.isSchedulerRunning,
specifiedType: const FullType(bool)),
];
return result;
@ -97,6 +100,10 @@ class _$AccountEntitySerializer implements StructuredSerializer<AccountEntity> {
result.isDocker = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
case 'is_scheduler_running':
result.isSchedulerRunning = serializers.deserialize(value,
specifiedType: const FullType(bool)) as bool;
break;
}
}
@ -123,6 +130,8 @@ class _$AccountEntity extends AccountEntity {
final bool debugEnabled;
@override
final bool isDocker;
@override
final bool isSchedulerRunning;
factory _$AccountEntity([void Function(AccountEntityBuilder) updates]) =>
(new AccountEntityBuilder()..update(updates)).build();
@ -136,7 +145,8 @@ class _$AccountEntity extends AccountEntity {
this.latestVersion,
this.currentVersion,
this.debugEnabled,
this.isDocker})
this.isDocker,
this.isSchedulerRunning})
: super._() {
if (id == null) {
throw new BuiltValueNullFieldError('AccountEntity', 'id');
@ -165,6 +175,9 @@ class _$AccountEntity extends AccountEntity {
if (isDocker == null) {
throw new BuiltValueNullFieldError('AccountEntity', 'isDocker');
}
if (isSchedulerRunning == null) {
throw new BuiltValueNullFieldError('AccountEntity', 'isSchedulerRunning');
}
}
@override
@ -186,7 +199,8 @@ class _$AccountEntity extends AccountEntity {
latestVersion == other.latestVersion &&
currentVersion == other.currentVersion &&
debugEnabled == other.debugEnabled &&
isDocker == other.isDocker;
isDocker == other.isDocker &&
isSchedulerRunning == other.isSchedulerRunning;
}
int __hashCode;
@ -198,14 +212,18 @@ class _$AccountEntity extends AccountEntity {
$jc(
$jc(
$jc(
$jc($jc($jc(0, id.hashCode), defaultUrl.hashCode),
reportErrors.hashCode),
plan.hashCode),
planExpires.hashCode),
latestVersion.hashCode),
currentVersion.hashCode),
debugEnabled.hashCode),
isDocker.hashCode));
$jc(
$jc(
$jc($jc(0, id.hashCode),
defaultUrl.hashCode),
reportErrors.hashCode),
plan.hashCode),
planExpires.hashCode),
latestVersion.hashCode),
currentVersion.hashCode),
debugEnabled.hashCode),
isDocker.hashCode),
isSchedulerRunning.hashCode));
}
@override
@ -219,7 +237,8 @@ class _$AccountEntity extends AccountEntity {
..add('latestVersion', latestVersion)
..add('currentVersion', currentVersion)
..add('debugEnabled', debugEnabled)
..add('isDocker', isDocker))
..add('isDocker', isDocker)
..add('isSchedulerRunning', isSchedulerRunning))
.toString();
}
}
@ -266,6 +285,11 @@ class AccountEntityBuilder
bool get isDocker => _$this._isDocker;
set isDocker(bool isDocker) => _$this._isDocker = isDocker;
bool _isSchedulerRunning;
bool get isSchedulerRunning => _$this._isSchedulerRunning;
set isSchedulerRunning(bool isSchedulerRunning) =>
_$this._isSchedulerRunning = isSchedulerRunning;
AccountEntityBuilder() {
AccountEntity._initializeBuilder(this);
}
@ -281,6 +305,7 @@ class AccountEntityBuilder
_currentVersion = _$v.currentVersion;
_debugEnabled = _$v.debugEnabled;
_isDocker = _$v.isDocker;
_isSchedulerRunning = _$v.isSchedulerRunning;
_$v = null;
}
return this;
@ -311,7 +336,8 @@ class AccountEntityBuilder
latestVersion: latestVersion,
currentVersion: currentVersion,
debugEnabled: debugEnabled,
isDocker: isDocker);
isDocker: isDocker,
isSchedulerRunning: isSchedulerRunning);
replace(_$result);
return _$result;
}

View File

@ -132,6 +132,9 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
'balance',
serializers.serialize(object.balance,
specifiedType: const FullType(double)),
'paid_to_date',
serializers.serialize(object.paidToDate,
specifiedType: const FullType(double)),
'client_id',
serializers.serialize(object.clientId,
specifiedType: const FullType(String)),
@ -420,6 +423,10 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
result.balance = serializers.deserialize(value,
specifiedType: const FullType(double)) as double;
break;
case 'paid_to_date':
result.paidToDate = serializers.deserialize(value,
specifiedType: const FullType(double)) as double;
break;
case 'client_id':
result.clientId = serializers.deserialize(value,
specifiedType: const FullType(String)) as String;
@ -1364,6 +1371,8 @@ class _$InvoiceEntity extends InvoiceEntity {
@override
final double balance;
@override
final double paidToDate;
@override
final String clientId;
@override
final String statusId;
@ -1504,6 +1513,7 @@ class _$InvoiceEntity extends InvoiceEntity {
_$InvoiceEntity._(
{this.amount,
this.balance,
this.paidToDate,
this.clientId,
this.statusId,
this.number,
@ -1578,6 +1588,9 @@ class _$InvoiceEntity extends InvoiceEntity {
if (balance == null) {
throw new BuiltValueNullFieldError('InvoiceEntity', 'balance');
}
if (paidToDate == null) {
throw new BuiltValueNullFieldError('InvoiceEntity', 'paidToDate');
}
if (clientId == null) {
throw new BuiltValueNullFieldError('InvoiceEntity', 'clientId');
}
@ -1734,6 +1747,7 @@ class _$InvoiceEntity extends InvoiceEntity {
return other is InvoiceEntity &&
amount == other.amount &&
balance == other.balance &&
paidToDate == other.paidToDate &&
clientId == other.clientId &&
statusId == other.statusId &&
number == other.number &&
@ -1824,7 +1838,7 @@ class _$InvoiceEntity extends InvoiceEntity {
$jc(
$jc(
$jc(
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), clientId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), hasTasks.hashCode), autoBill.hashCode), autoBillEnabled.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), hasExpenses.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), hasTasks.hashCode), autoBill.hashCode), autoBillEnabled.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), hasExpenses.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
dueDateDays.hashCode),
invoiceId.hashCode),
recurringId.hashCode),
@ -1851,6 +1865,7 @@ class _$InvoiceEntity extends InvoiceEntity {
return (newBuiltValueToStringHelper('InvoiceEntity')
..add('amount', amount)
..add('balance', balance)
..add('paidToDate', paidToDate)
..add('clientId', clientId)
..add('statusId', statusId)
..add('number', number)
@ -1934,6 +1949,10 @@ class InvoiceEntityBuilder
double get balance => _$this._balance;
set balance(double balance) => _$this._balance = balance;
double _paidToDate;
double get paidToDate => _$this._paidToDate;
set paidToDate(double paidToDate) => _$this._paidToDate = paidToDate;
String _clientId;
String get clientId => _$this._clientId;
set clientId(String clientId) => _$this._clientId = clientId;
@ -2235,6 +2254,7 @@ class InvoiceEntityBuilder
if (_$v != null) {
_amount = _$v.amount;
_balance = _$v.balance;
_paidToDate = _$v.paidToDate;
_clientId = _$v.clientId;
_statusId = _$v.statusId;
_number = _$v.number;
@ -2328,6 +2348,7 @@ class InvoiceEntityBuilder
new _$InvoiceEntity._(
amount: amount,
balance: balance,
paidToDate: paidToDate,
clientId: clientId,
statusId: statusId,
number: number,

View File

@ -1,2 +1,3 @@
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"

View File

@ -1,2 +1,3 @@
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "ephemeral/Flutter-Generated.xcconfig"

View File

@ -35,14 +35,14 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0-nullsafety.3"
version: "2.5.0-nullsafety.1"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.3"
version: "2.1.0-nullsafety.1"
build:
dependency: transitive
description:
@ -119,14 +119,14 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.5"
version: "1.1.0-nullsafety.3"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety.3"
version: "1.2.0-nullsafety.1"
charts_common:
dependency: transitive
description:
@ -161,7 +161,7 @@ packages:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.3"
version: "1.1.0-nullsafety.1"
code_builder:
dependency: transitive
description:
@ -175,7 +175,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0-nullsafety.5"
version: "1.15.0-nullsafety.3"
contacts_service:
dependency: "direct main"
description:
@ -196,7 +196,7 @@ packages:
name: coverage
url: "https://pub.dartlang.org"
source: hosted
version: "0.15.1"
version: "0.14.2"
crypto:
dependency: transitive
description:
@ -266,7 +266,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety.3"
version: "1.2.0-nullsafety.1"
faker:
dependency: "direct dev"
description:
@ -287,7 +287,7 @@ packages:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.0-nullsafety.4"
version: "6.0.0-nullsafety.2"
file_picker:
dependency: "direct main"
description:
@ -585,7 +585,7 @@ packages:
name: js
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.3-nullsafety.3"
version: "0.6.3-nullsafety.2"
json_annotation:
dependency: transitive
description:
@ -620,7 +620,7 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.10-nullsafety.3"
version: "0.12.10-nullsafety.1"
material_design_icons_flutter:
dependency: "direct main"
description:
@ -641,7 +641,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0-nullsafety.6"
version: "1.3.0-nullsafety.3"
mime:
dependency: transitive
description:
@ -718,7 +718,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety.3"
version: "1.8.0-nullsafety.1"
path_provider:
dependency: "direct main"
description:
@ -760,7 +760,7 @@ packages:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.10.0-nullsafety.3"
version: "1.10.0-nullsafety.2"
permission_handler:
dependency: "direct main"
description:
@ -788,7 +788,7 @@ packages:
name: platform
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0-nullsafety.4"
version: "3.0.0-nullsafety.2"
plugin_platform_interface:
dependency: transitive
description:
@ -802,14 +802,14 @@ packages:
name: pool
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.0-nullsafety.3"
version: "1.5.0-nullsafety.2"
process:
dependency: transitive
description:
name: process
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0-nullsafety.4"
version: "4.0.0-nullsafety.2"
pub_semver:
dependency: transitive
description:
@ -968,21 +968,21 @@ packages:
name: source_map_stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.4"
version: "2.1.0-nullsafety.3"
source_maps:
dependency: transitive
description:
name: source_maps
url: "https://pub.dartlang.org"
source: hosted
version: "0.10.10-nullsafety.3"
version: "0.10.10-nullsafety.2"
source_span:
dependency: transitive
description:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety.4"
version: "1.8.0-nullsafety.2"
sqflite:
dependency: transitive
description:
@ -1003,14 +1003,14 @@ packages:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.10.0-nullsafety.6"
version: "1.10.0-nullsafety.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.3"
version: "2.1.0-nullsafety.1"
stream_transform:
dependency: transitive
description:
@ -1024,7 +1024,7 @@ packages:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.3"
version: "1.1.0-nullsafety.1"
sync_http:
dependency: transitive
description:
@ -1045,28 +1045,28 @@ packages:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety.3"
version: "1.2.0-nullsafety.1"
test:
dependency: "direct dev"
description:
name: test
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0-nullsafety.16"
version: "1.16.0-nullsafety.5"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19-nullsafety.6"
version: "0.2.19-nullsafety.2"
test_core:
dependency: transitive
description:
name: test_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.12-nullsafety.15"
version: "0.3.12-nullsafety.5"
timeago:
dependency: "direct main"
description:
@ -1087,7 +1087,7 @@ packages:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0-nullsafety.5"
version: "1.3.0-nullsafety.3"
url_launcher:
dependency: "direct main"
description:
@ -1150,7 +1150,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.5"
version: "2.1.0-nullsafety.3"
version:
dependency: "direct main"
description:
@ -1165,6 +1165,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "5.5.0"
vm_service_client:
dependency: transitive
description:
name: vm_service_client
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.6+2"
watcher:
dependency: transitive
description:
@ -1229,5 +1236,5 @@ packages:
source: hosted
version: "2.2.1"
sdks:
dart: ">=2.12.0-0.0 <3.0.0"
dart: ">=2.10.2 <2.11.0"
flutter: ">=1.22.2 <2.0.0"