toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activity != null) 'activity': activity!,
      if (clusterId != null) 'clusterId': clusterId!,
      if (keyScreen != null) 'keyScreen': keyScreen!.toJson(),
      if (screens != null)
        'screens': screens!.map((value) => value.toJson()).toList(),
    };