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