fromUri

public static FunctionResponsePart fromUri(String fileUri, String mimeType)

Constructs a FunctionResponsePart with FunctionResponseFileData from a file URI and MIME type.