fix analysis
This commit is contained in:
@@ -46,8 +46,8 @@ extension IterableX<T> on Iterable<T> {
|
||||
/// Useful extension for [PlatformFile]
|
||||
extension PlatformFileX on PlatformFile {
|
||||
/// Converts the [PlatformFile] into [AttachmentFile]
|
||||
//ignore: avoid_redundant_argument_values
|
||||
AttachmentFile get toAttachmentFile => AttachmentFile(
|
||||
//ignore: avoid_redundant_argument_values
|
||||
path: kIsWeb ? null : path,
|
||||
name: name,
|
||||
bytes: bytes,
|
||||
|
||||
Reference in New Issue
Block a user