culture property

String culture

The OAuth login page is displayed in the language specified by the given culture code.

If not explicitly set, the culture used by the device/machine is used. If the culture is not supported by the portal then OAuth login page will be displayed in the language corresponding to culture specified in the portal/organization settings. The format for culture code is based on a language code and a country code separated by a dash. Example: "en-US".

Implementation

String get culture {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OAuthUserConfiguration_getCulture(
        _handle, errorHandler);
  });
  return stringHandle.toDartString();
}