resultAsType<E> method
E
resultAsType<E>()
Parses the response to any desired type of E
.
Although convenient - use with caution, this is blind casting!
Implementation
E resultAsType<E>() => result as E;