ScrollRect.fromJson constructor
Implementation
factory ScrollRect.fromJson(Map<String, dynamic> json) {
return ScrollRect(
rect: dom.Rect.fromJson(json['rect'] as Map<String, dynamic>),
type: ScrollRectType.fromJson(json['type'] as String),
);
}