Skip to content

Commit

Permalink
docs: added comments for YamlMap casting
Browse files Browse the repository at this point in the history
  • Loading branch information
OutdatedGuy committed Sep 27, 2024
1 parent ddd9dd4 commit 389e2e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/config/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ class Config {
final MacOSConfig? macOSConfig;

/// Creates [Config] icons from [json]
// ? Using `Map<dynamic, dynamic>` as `YamlMap` is not castable to
// ? `Map<String, dynamic>`
factory Config.fromJson(Map<dynamic, dynamic> json) => _$ConfigFromJson(json);

/// whether or not there is configuration for adaptive icons for android
Expand Down

0 comments on commit 389e2e9

Please sign in to comment.