copyFrom method

dynamic copyFrom(
  1. Map json
)

Implementation

copyFrom(Map json) {
  offset = Offset(json['offset'][0], json['offset'][1]);
  opacity = json['opacity'];
  rotation = json['rotation'];
  scale = json['scale'];
}