fixed tests, null errors
This commit is contained in:
@@ -87,7 +87,7 @@ class AttachmentFile {
|
||||
final int? size;
|
||||
|
||||
/// File extension for this file.
|
||||
String? get extension => name?.split('.')?.last;
|
||||
String? get extension => name?.split('.').last;
|
||||
|
||||
/// Serialize to json
|
||||
Map<String, dynamic> toJson() => _$AttachmentFileToJson(this);
|
||||
|
||||
Reference in New Issue
Block a user