MediaFile.medium constructor
MediaFile.medium(
- Medium medium
Implementation
MediaFile.medium(Medium medium) {
_medium = medium;
_type = _medium!.mediumType == MediumType.video
? MediaType.video
: MediaType.image;
_id = _medium!.id;
}