errorFrom method

RTMException errorFrom(
  1. Map result
)
inherited

Implementation

RTMException errorFrom(Map result) {
  final Map error = result['error'];
  return RTMException(
      code: error['code'].toString(),
      message: error['message'],
      details: error['details']);
}