fn parse_typed_data(message: &str, from_file: bool) -> Result<TypedData>
Parses EIP-712 typed data from a JSON string, or from the file it names when from_file.
from_file