JsonRpcError(Map<String, dynamic> errorObj) : code = errorObj['code'] as int, message = errorObj['message'] as String, data = errorObj['data'];