getRecords method

  1. @override
Future<List<Map<String, dynamic>>> getRecords(
  1. String tableName
)
override

Implementation

@override
Future<List<Map<String, dynamic>>> getRecords(String tableName) async {
  final accessor = accessors[tableName];
  if (accessor != null) return await accessor.getAllRecords();

  throw UnimplementedError(
    'Provide a RealmAccessor for $tableName to handle serialization.',
  );
}