StepModel.fromJson constructor
StepModel.fromJson(
- Map<String, dynamic> json
)
Implementation
StepModel.fromJson(Map<String, dynamic> json) {
triggerIcon = json['triggerIcon'] != null
? new TriggerIcon.fromJson(json['triggerIcon'])
: null;
triggerLabel = json['triggerLabel'] != null
? new TriggerLabel.fromJson(json['triggerLabel'])
: null;
trigger = json['trigger'];
dismissalSetting = json['dismissalSetting'];
title = json['title'];
selector = json['selector'];
language = json['language'];
content = json['content'];
animationType = json['animationType'];
delay = json['delay'];
isBackdrop = json['isBackdrop'];
isCaret = json['isCaret'];
position = json['position'];
triggerMode = json['triggerMode'];
id = json['id'];
shape = json['shape'];
background = json['background'];
textColor = json['textColor'];
showConfetti = json['showConfetti'];
draggable = json['draggable'];
url = json['url'];
color = json['color'];
height = json['height'];
width = json['width'];
}