pattern property

String? pattern
getter/setter pair

Pattern string used for formatting.

If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the [Date and Number Formats guide](/sheets/api/guides/formats) for more information about the supported patterns.

Implementation

core.String? pattern;