scale method

JsonMap scale(
  1. num s
)

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,
      ),
    );