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