getFileInfo method

Future<FileInfoDto?> getFileInfo(
  1. int? fileId
)

Implementation

Future<FileInfoDto?> getFileInfo (
  int? fileId
) async {
  String path = "/storage/file-info/$fileId";
  return FileInfoDto.fromJson(
    await get(path, requireAuthorization:true) ?? {}
  );
}