1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-30 23:08:50 +00:00
comunicmobile/lib/helpers/database/friends_database_helper.dart

15 lines
471 B
Dart
Raw Normal View History

2019-05-04 17:35:03 +00:00
import 'package:comunic/helpers/database/database_contract.dart';
import 'package:comunic/helpers/database/model_database_helper.dart';
import 'package:comunic/models/friend.dart';
/// Friends database helper
///
/// @author Pierre HUBERT
class FriendsDatabaseHelper extends ModelDatabaseHelper<Friend> {
@override
Friend initializeFromMap(Map<String, dynamic> map) => Friend.fromMap(map);
@override
String tableName() => FriendsListTableContract.TABLE_NAME;
}