decode static method

StyleTransition decode(
  1. String properties
)

Implementation

static StyleTransition decode(String properties) {
  final map = json.decode(properties);
  return StyleTransition(duration: map["duration"], delay: map["delay"]);
}