toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final waitFor = this.waitFor;
  final waitUntil = this.waitUntil;
  return {
    if (waitFor != null) 'WaitFor': waitFor,
    if (waitUntil != null) 'WaitUntil': waitUntil,
  };
}