getErrorDescription method Null safety

Future<String?> getErrorDescription(
  1. int error
)

获取错误码或警告码描述。

Parameter error WarningCodeErrorCode 返回的错误码或警告码。

Returns

WarningCodeErrorCode

Implementation

static Future<String?> getErrorDescription(int error) {
  return RtcEngine.methodChannel.invokeMethod('getErrorDescription', {
    'error': error,
  });
}