Files
谢宇宁andClaude Opus 5.5 2d26ea8f90 Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:38:11 +07:00

6 lines
119 B
Dart

/// 可空 Map 扩展
extension MapNullableX on Map? {
/// 长度,null 视为 0
int em() => this?.length ?? 0;
}