setFlowAttribute static method
Assigns a custom attribute to an AppFlow with the specified name
, key
, and value
.
The name
must not be an empty string. The key
should not exceed 30 characters,
and value
should not exceed 60 characters, with both ignoring leading and trailing spaces.
To remove an attribute, set its value
to null. Attributes cannot be added or
modified after an AppFlow has concluded.
Implementation
static Future<void> setFlowAttribute(
String name,
String key,
String? value,
) async {
return _host.setFlowAttribute(name, key, value);
}