MediaFile.file constructor

MediaFile.file({
  1. required String id,
  2. required File file,
  3. required MediaType type,
})

Implementation

MediaFile.file(
    {required String id, required File file, required MediaType type}) {
  _file = file;
  _id = id;
  _type = type;
}