Last active
May 18, 2021 19:19
-
-
Save snijsure/7bbf16a52d35c19088fa4edcff51ece6 to your computer and use it in GitHub Desktop.
ImageFileExtensionWithApply
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun ImageFile.toAttachment(): Attachment { | |
return Attachment().also { | |
it.fileName = imageName | |
it.updateTime = updateTime | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment