toKeyframeMap method
Returns a map representation of this Style that can be used by JavaScript's animation API.
Implementation
Map<String, String> toKeyframeMap() {
return _rules.map(
(final key, final value) => MapEntry(
key.fromKebabCaseToCamelCase(),
value,
),
);
}