mirror of https://github.com/AMT-Cheif/drift.git
Fix dartdoc templates
This commit is contained in:
parent
407a40fae1
commit
0a457e92e5
|
@ -395,7 +395,7 @@ class DriftView {
|
||||||
/// By default, drift will attempt to use the view name followed by "Data"
|
/// 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
|
/// when naming data classes (e.g. a view named "UserView" will generate a
|
||||||
/// data class called "UserViewData").
|
/// data class called "UserViewData").
|
||||||
/// {@macro drift_custom_data_class}
|
/// {@endtemplate}
|
||||||
final String? dataClassName;
|
final String? dataClassName;
|
||||||
|
|
||||||
/// The parent class of generated data class. Class must extends [DataClass]!
|
/// The parent class of generated data class. Class must extends [DataClass]!
|
||||||
|
|
|
@ -71,7 +71,7 @@ extension DateTimeExpressions on Expression<DateTime> {
|
||||||
/// ```dart
|
/// ```dart
|
||||||
/// Variable(DateTime.now()).modify(DateTimeModifier.localTime()).hour
|
/// Variable(DateTime.now()).modify(DateTimeModifier.localTime()).hour
|
||||||
/// ```
|
/// ```
|
||||||
/// {@template}
|
/// {@endtemplate}
|
||||||
Expression<int> get year => _StrftimeSingleFieldExpression('%Y', this);
|
Expression<int> get year => _StrftimeSingleFieldExpression('%Y', this);
|
||||||
|
|
||||||
/// Extracts the month from `this` datetime expression.
|
/// Extracts the month from `this` datetime expression.
|
||||||
|
|
Loading…
Reference in New Issue