toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (phase1 != null) 'phase1': phase1!,
  if (phase2 != null) 'phase2': phase2!,
};