Fix dartdoc templates

This commit is contained in:
Simon Binder 2023-11-16 21:19:37 +01:00
parent 407a40fae1
commit 0a457e92e5
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
2 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,7 @@ class DriftView {
/// By default, drift will attempt to use the view name followed by "Data"
/// when naming data classes (e.g. a view named "UserView" will generate a
/// data class called "UserViewData").
/// {@macro drift_custom_data_class}
/// {@endtemplate}
final String? dataClassName;
/// The parent class of generated data class. Class must extends [DataClass]!

View File

@ -71,7 +71,7 @@ extension DateTimeExpressions on Expression<DateTime> {
/// ```dart
/// Variable(DateTime.now()).modify(DateTimeModifier.localTime()).hour
/// ```
/// {@template}
/// {@endtemplate}
Expression<int> get year => _StrftimeSingleFieldExpression('%Y', this);
/// Extracts the month from `this` datetime expression.