toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allInstances != null) 'allInstances': allInstances!,
      if (instances != null) 'instances': instances!,
      if (minimalAction != null) 'minimalAction': minimalAction!,
      if (mostDisruptiveAllowedAction != null)
        'mostDisruptiveAllowedAction': mostDisruptiveAllowedAction!,
    };