Skip to content

Commit dc7b63e

Browse files
author
github-actions
committed
Prepare version 0.9.12
1 parent bf7c175 commit dc7b63e

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.9.12]
4+
5+
- Released @ 6/2025 (UTC)
6+
- chore: Another small bugfix
7+
38
## [0.9.10]
49

510
- Released @ 6/2025 (UTC)

lib/src/models/base_model.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ abstract mixin class BaseModel {
5959
/// with the keys sorted alphabetically.
6060
Map<String, dynamic> sortedJson({bool includeNulls = false}) {
6161
final a = toJson(includeNulls: includeNulls);
62-
final b = a.keys.toList(growable: false)..sort((k1, k2) => k1.compareTo(k2));
62+
final b = a.keys.toList(growable: false)
63+
..sort((k1, k2) => k1.compareTo(k2));
6364
final c = {for (var k in b) k: a[k] as dynamic};
6465
return c;
6566
}
@@ -104,7 +105,8 @@ abstract mixin class BaseModel {
104105

105106
/// A class that extends [BaseModel] that provides a reference to itself.
106107
@Deprecated('Use ThisModelMixin instead.')
107-
abstract class ThisModel<T extends BaseModel> extends BaseModel with ThisModelMixin {
108+
abstract class ThisModel<T extends BaseModel> extends BaseModel
109+
with ThisModelMixin {
108110
const ThisModel();
109111
}
110112

lib/src/models/data_ref/data_ref_model.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ const DATA_REF_FIELDS = {
3737
};
3838

3939
@GenerateDartModel(shouldInherit: true, fields: DATA_REF_FIELDS)
40-
abstract class _DataRefModel extends BaseModel with EquatableMixin, ThisModelMixin<DataRefModel> {
40+
abstract class _DataRefModel extends BaseModel
41+
with EquatableMixin, ThisModelMixin<DataRefModel> {
4142
const _DataRefModel();
4243

4344
//

lib/src/models/referenced_model.dart/referenced_model.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ const REFERENCED_MODEL_FIELDS = {
2424
fieldType: String,
2525
nullable: false,
2626
primaryKey: true,
27-
description: 'The unique identifier for the document, serving as its primary key.',
27+
description:
28+
'The unique identifier for the document, serving as its primary key.',
2829
),
2930
Field(
3031
fieldPath: ['ref'],

0 commit comments

Comments
 (0)