From 48782e397c7921c973451fa40eaecf4b340c96cd Mon Sep 17 00:00:00 2001 From: Mircea MATEI Date: Fri, 22 Mar 2019 01:47:12 +0200 Subject: [PATCH] #8. Style fixes --- example/lib/models/account.dart | 2 +- example/lib/models/account_related.dart | 6 +++--- example/lib/models/independent.dart | 2 +- src/test/src/model/account.dart | 2 +- src/test/src/model/account_related.dart | 6 +++--- src/test/src/model/independent.dart | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/lib/models/account.dart b/example/lib/models/account.dart index c670f43..6e24445 100644 --- a/example/lib/models/account.dart +++ b/example/lib/models/account.dart @@ -27,7 +27,7 @@ class UserAccount implements DbAccountEntity { @override int get id => _id; - int get FutureData => _futureData; + int get futureData => _futureData; String get description => _description; diff --git a/example/lib/models/account_related.dart b/example/lib/models/account_related.dart index b1768d4..d28ccb3 100644 --- a/example/lib/models/account_related.dart +++ b/example/lib/models/account_related.dart @@ -16,12 +16,12 @@ class HealthEntryAccountRelated implements DbAccountRelatedEntity { int _futureData; @DataColumn("my_account_id_column", ColumnMetadata.NotNull) - int _account_id; + int _accountId; @override int get id => _id; - int get FutureData => _futureData; + int get futureData => _futureData; String get description => _description; @@ -31,7 +31,7 @@ class HealthEntryAccountRelated implements DbAccountRelatedEntity { } @override - int get accountId => _account_id; + int get accountId => _accountId; @override DbEntity getDbEntityFromMap(Map map) { diff --git a/example/lib/models/independent.dart b/example/lib/models/independent.dart index 2afc938..ce67268 100644 --- a/example/lib/models/independent.dart +++ b/example/lib/models/independent.dart @@ -18,7 +18,7 @@ class HealthEntry implements DbEntity { @override int get id => _id; - int get FutureData => _futureData; + int get futureData => _futureData; String get description => _description; diff --git a/src/test/src/model/account.dart b/src/test/src/model/account.dart index c95fc3d..cc41f55 100644 --- a/src/test/src/model/account.dart +++ b/src/test/src/model/account.dart @@ -29,7 +29,7 @@ class UserAccount implements DbAccountEntity { @override int get id => _id; - int get FutureData => _futureData; + int get futureData => _futureData; String get description => _description; diff --git a/src/test/src/model/account_related.dart b/src/test/src/model/account_related.dart index 2a682da..a821396 100644 --- a/src/test/src/model/account_related.dart +++ b/src/test/src/model/account_related.dart @@ -18,12 +18,12 @@ class HealthEntryAccountRelated implements DbAccountRelatedEntity { int _futureData; @DataColumn("my_account_id_column", ColumnMetadata.NotNull) - int _account_id; + int _accountId; @override int get id => _id; - int get FutureData => _futureData; + int get futureData => _futureData; String get description => _description; @@ -33,7 +33,7 @@ class HealthEntryAccountRelated implements DbAccountRelatedEntity { } @override - int get accountId => _account_id; + int get accountId => _accountId; @override DbEntity getDbEntityFromMap(Map map) { diff --git a/src/test/src/model/independent.dart b/src/test/src/model/independent.dart index fff974e..f368e78 100644 --- a/src/test/src/model/independent.dart +++ b/src/test/src/model/independent.dart @@ -20,7 +20,7 @@ class HealthEntry implements DbEntity { @override int get id => _id; - int get FutureData => _futureData; + int get futureData => _futureData; String get description => _description;