This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// {@template Optional} | |
/// | |
/// A wrapper around value [T] to indicate presence or absence explicitly. | |
/// | |
/// It solves the typical problem of copying objects that have nullable | |
/// fields: | |
/// | |
/// ```dart | |
/// SomeState copyWith({ | |
/// StateType? stateType, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include: package:lints/recommended.yaml | |
analyzer: | |
exclude: | |
- "**/*.g.dart" | |
- "**/*.freezed.dart" | |
- "test/.test_coverage.dart" | |
- "bin/cache/**" | |
# For more information see: |