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