addCustomAttribute method
Implementation
void addCustomAttribute(String name, dynamic value) {
assert(
value is String || value is bool || value is int,
'Value must be primary type - string, bool or int',
);
_attributes.addAll(<String, dynamic>{name: value});
}