scale method
Scales animation.
Implementation
JsonMap scale(num s) => json.map(
(String name, dynamic value) => MapEntry<String, dynamic>(
name,
needToScaleRootFields.contains(name)
? _scale(value as JsonMap, s)
: value,
),
);