Skip to content

Commit

Permalink
ststic analyzer issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
a-givertzman committed Dec 25, 2023
1 parent 288ebb5 commit 8df118d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/table_schema/relation_schema.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,19 @@ class RelationSchema<T extends SchemaEntry, P> implements TableSchemaAbstract<T,
}
///
/// Returns a list of table field names
@override
List<Field> get fields {
return _schema.fields;
}
///
/// Returns a list of table field keys
@override
List<String> get keys {
return _schema.keys;
}
///
///
@override
List<T> get entries => _schema.entries;
///
/// Fetchs data with new sql built from [values]
Expand Down
3 changes: 3 additions & 0 deletions lib/src/table_schema/table_schema.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ class TableSchema<T extends SchemaEntry, P> implements TableSchemaAbstract<T, P>
}
///
/// Returns a list of table field names
@override
List<Field> get fields {
return _fields;
}
///
/// Returns a list of table field keys
@override
List<String> get keys {
return _fields.map((field) => field.key).toList();
}
///
///
@override
List<T> get entries => _entries.values.toList();
///
/// Fetchs data with new sql built from [values]
Expand Down

0 comments on commit 8df118d

Please sign in to comment.