map<U> method
Implementation
NEResult<U> map<U>(U Function() mapper) => isSuccess()
? NEResult<U>(
code: code,
msg: msg,
data: mapper(),
)
: NEResult<U>(code: code, msg: msg, requestId: requestId, cost: cost);