locale method
- String locale
inherited
locale is code of the language
of which the
entries needs to be included.
Only the entries published in this locale will be fetched.
Example:
final stack = contentstack.Stack('apiKey','deliveryToken','environment');
final entry = stack.contentType("contentTypeUid").entry("entryUid");
entry.locale('en-eu');
Implementation
void locale(String locale) {
parameter['locale'] = locale;
}