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