InputSticker.file constructor
InputSticker.file({})
Implementation
factory InputSticker.file({
required io.File sticker,
required List<String> emojiList,
MaskPosition? maskPosition,
List<String>? keywords,
}) =>
InputSticker(
sticker: 'attach://${sticker.path}',
stickerFile: MultipartFile(
sticker.path, sticker.openRead(), sticker.lengthSync(),
filename: sticker.path.split('/').last),
emojiList: emojiList,
maskPosition: maskPosition,
keywords: keywords,
);