Skip to content

Commit a27b3be

Browse files
Dillon Nysdnys1
authored andcommitted
chore: Regenerate and reformat code
1 parent ccb8533 commit a27b3be

File tree

42 files changed

+732
-707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+732
-707
lines changed

canaries/lib/models/ModelProvider.dart

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@ class ModelProvider implements ModelProviderInterface {
3434
List<ModelSchema> customTypeSchemas = [];
3535

3636
static ModelProvider get instance => _instance;
37-
37+
3838
ModelType getModelTypeByModelName(String modelName) {
39-
switch(modelName) {
39+
switch (modelName) {
4040
case "Todo":
4141
return Todo.classType;
4242
default:
43-
throw Exception("Failed to find model in model provider for model name: " + modelName);
43+
throw Exception(
44+
"Failed to find model in model provider for model name: " +
45+
modelName);
4446
}
4547
}
46-
}
48+
}

0 commit comments

Comments
 (0)