createError function

PlatformException createError(
  1. String code,
  2. String message
)

Implementation

PlatformException createError(String code, String message) {
  return PlatformException(
    code: code,
    message: message,
  );
}